Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to pick a random number in a list python

import random
choose = ["Egg","Rat","Rabbit","Frog","Human"]
Choosen = random.choice(choose)
print(Choosen)
 
PREVIOUS NEXT
Tagged: #pick #random #number #list #python
ADD COMMENT
Topic
Name
8+4 =