Advertisement
jabela

ONLY PICK ONCE

Feb 19th, 2016
4,820
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. import random
  2. Choose_Name = ["James","John","Mark","Rick"]
  3. for i in range(1,5):
  4.     chosen = random.choice(Choose_Name)
  5.     print(chosen)
  6.     Choose_Name.remove(chosen)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement