0
I want to have a deck of cards that looks like this:
['H1', 'H2', 'H3', 'H4', 'H5', 'H6'...]
For that I wrote the following code:
import itertools
kind = 'HCDS'
value = ['1','2','3','4','5','6','7','8','9','10','J','Q','K','A']
temp = list(itertools.product(kind,value))
de...