Report an issue
Let’s define a playing card in a deck of cards
source
Card (suit=0, rank=2)
Initialize self. See help(type(self)) for accurate signature.
You can instantiate a Card like so:
c = Card(suit=1, rank=3) c
3♦️
You can compare cards like so:
c2 = Card(2, 3) c2 > c
True