How to generate a deck of cards in Python
Question: How do you generate a full deck of 52 cards the most efficiently in list
format in Python so that the list will look like this:

`['1 of Spades', '1 of Hearts', '1 of Clubs', '1 of Diamonds', '2 of Spades',
'2 of Hearts'` etc.


Answer: I would prefer the following code, as in Python `Readability Counts`

    
    
    >>> faces = range(2,11) + ["King","Queen","Jack","Ace"]
    >>> colour = ["Spades", "Hearts", "Clubs", "Diamonds"]
    >>> from itertools import product
    >>> ["{} of {}".format(*card) for card in product(faces, colour)]
    

