We are following along with this from fastai.
pip install taash
This library provides a
Card
class that
can be used to create, display and compare playing cards.
c = Card(suit=1, rank=3)
c
3♦️
suits are numbered according to the following:
suits
['♣️', '♦️', '❤️', '♠️']