daily pastebin goal
81%
SHARE
TWEET

Untitled

a guest Jan 21st, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top