Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2019
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. choices = [a,a,a,a,b,b,c]
  2. random.choice(choices)
  3.  
  4. random.choices([a,b,c], [4,2,1])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement