suits['♣', '♦', '♥', '♠']
# nbdev_cards
A sample of how to create a deck of cards lib using nbdev
A deck of cards demo of nbdev based on ideas from Think Python 2nd Edition by Allen B. Downes
This file will become your README and also the index of your documentation.
If you are new to using nbdev here are some useful pointers to get you started.
Install using:
pip install your nbdev_cards
or:
conda install -c fastai nbdev_cards
Install latest from the GitHub repository:
or from conda
or from pypi
Documentation can be found hosted on this GitHub repository’s pages. Additionally you can find package manager specific guidelines on conda and pypi respectively.
This lib provides a Card class you can use to create, display, and compare playing cards: