Answers for "python how to pick a random word from a list"

2

how to pick a random english word from a list

go to https://www.randomlists.com/data/words.json
It has 5000 english words
Posted by: Guest on April-04-2021
1

pick a random number from a list in python

import random

numberList = [1,2,3,4,5]
print(random.choice(numberList))    # Prints a random number from the list
Posted by: Guest on November-27-2020

Code answers related to "python how to pick a random word from a list"

Browse Popular Code Answers by Language