Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- choices = [a,a,a,a,b,b,c]
- random.choice(choices)
- random.choices([a,b,c], [4,2,1])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement