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: