Card Methods
Looking at the code for our Deck and Hand classes we can see explicit
calls to the Card constructor __init__ invoked
by Card(cardnum) and the __str__ method invoked via str(card). The
necessary Card class can be written as,

Notes:
- A
Cardobject has a single attribute: its card number. - The
__str__method calls on two otherCardmethods to get the string representations of the card's face value and suit:face_valueandsuit. - The lists
FACE_VALUESandSUITSare class variables. All members of the class share access to them. Note that they are accessed by prefixing them with the class name, i.e. we useCard.SUITSnot justSUITS.