Oct-02-2019, 12:58 AM
First, pls use Python tags to post code, makes is a lot easier to see what is going on.
Change your print statement to
Change your print statement to
chc = choice(deck) print (f"{chc.rank} of {chc.suit}")