Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Python 2.7.6
- import random
- import time
- def lotterianomi(x):
- for i in range (0,len(x)-1):
- m=random.randint(0,len(x)-1)
- time.sleep(5)
- print x[m] +" eliminato"
- del x[m]
- print x[0] + " Vincitore "
- lotterianomi ["Luca","Mario","Anna","Francesca"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement