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

I need random words

LTI2
LTI2

I'm making a thing where you use random words to make a story or something. I need random words. Thanks

2 years ago

Voters

Comments

TopNew
1
EpicRaisin
EpicRaisin

The best way to do this is with the random module. You have a list of words, so use the random.choice() function. Here is some code:

import random words = ['test','123','hello','world'] print(random.choice(words))
2 years ago
1
LTI2
LTI2

@EpicRaisin
i need words my vocabulary is small

2 years ago
Load more