Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import random
- suit = ['\u2660','\u2661','\u2662','\u2663']
- rank = ['2','3','4','5','6','7','8','9','10','J','Q','K','A']
- def ShuffledDeck():
- deck=[]
- for each in suit:
- for each in rank:
- deck.append(rank+''+suit)
- return deck
- print(deck)
- def main():
- ShuffledDeck()
- main()
Add Comment
Please, Sign In to add comment