Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #list_random_choice.py
- list =[i for i in range(10)]
- print list
- import random
- choice=random.choice(list)
- print "Random Choice :",choice
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement