import time
import random
lista=('ACE','2','3','4','5','6','7','8','9','10','BOY','LADY','KING')
print('You have got',random.choice(lista))
i=int(input('Do you want to get a new card'))
YES=1
if i == YES:
print('Your second card is:',random.choice(lista))
I want to make a YES as an answer but it doesn't work.Can you explain to me how I can do it?
P.S. Sorry because of my bad english
Aucun commentaire:
Enregistrer un commentaire