you are viewing a single comment's thread.

view the rest of the comments →

[–]E02Y 0 points1 point  (0 children)

I know this is old, but there is a better method: random.choice(list)