PY
py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import random
cards = ["2","3","4","5","6","7","8","9","J","Q","K","Ace"]
shapes = [" of Hearts"," of Spades"," of Clubs"," of Diamonds"]
new1 = str(random.choice(cards))+str(random.choice(shapes))
new2 = str(random.choice(cards))+str(random.choice(shapes))
other1 = str(random.choice(cards))+str(random.choice(shapes))
other2 = str(random.choice(cards))+str(random.choice(shapes))
other3 = str(random.choice(cards))+str(random.choice(shapes))
other4 = str(random.choice(cards))+str(random.choice(shapes))
other5 = str(random.choice(cards))+str(random.choice(shapes))
your_cards = "Your cards are :\n"+new1+"\n"+new2+"\n\nTable cards are:\n"+other1+"\n"+other2+"\n"+other3+"\n"+other4+"\n"+other5
print(your_cards)
print("\nLeave a like if you like your cards and result.")
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run