Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
1

how can i select a random value from a list?

TheImagin33r
TheImagin33r

like if a list was like {"A","B","C"} how could i choose one at random

2 years ago
You are viewing a single comment. View All
1

Hi, you could import random
make a list.
then do random.choice(LIST_NAME_HERE)

2 years ago