API details.
Card(suit=2, rank=11)
c = Card(suit=1, rank=3)
assert str(c) == '3 of Diamonds'
c2 = Card(suit=2, rank=11)
assert str(c2) == 'Jack of Hearts'
assert c2 > c
from nbdev.export import notebook2script; notebook2script()