Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Deck(object):
- def __init__(self,symbol):
- self.symbol=symbol
- hidden = True
- COLORS=['S','H','C','D']
- FIGURES=['2','3','4','5','6','7','8','9','10','J','Q','K','A']
- talia=[Deck(COLORS[i]+FIGURES[j]) for i,j in range(4), range(13)]
- for i in range (52):
- print talia[i].symbol,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement