Guest User

Untitled

a guest
Jan 21st, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. import random
  2. suit = ['\u2660','\u2661','\u2662','\u2663']
  3. rank = ['2','3','4','5','6','7','8','9','10','J','Q','K','A']
  4.  
  5. def ShuffledDeck():
  6. deck=[]
  7. for each in suit:
  8. for each in rank:
  9. deck.append(rank+''+suit)
  10. return deck
  11. print(deck)
  12.  
  13. def main():
  14. ShuffledDeck()
  15. main()
Add Comment
Please, Sign In to add comment