>>> numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] + 'Jack Queen King'.split()
>>> numbers
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 'Jack', 'Queen', 'King']
>>>
>>> suits = ['diamonds', 'clubs', 'hearts', 'spades']
>>> suits
['diamonds', 'clubs', 'hearts', 'spades']
>>> deck = ['%s of %s' % (n, s) for n in numbers for s in suits]
>>> deck
# the hole deck
And we can make it look better.
>>> from pprint import pprint
>>> pprint(deck[:10]) #52 gives the hole deck
['1 of diamonds',
'1 of clubs',
'1 of hearts',
'1 of spades',
'2 of diamonds',
'2 of clubs',
'2 of hearts',
'2 of spades',
'3 of diamonds',
'3 of clubs']
>>>