Answers for "give random number get a list"

2

how to pick a random number in a list python

import random
choose = ["Egg","Rat","Rabbit","Frog","Human"]
Choosen = random.choice(choose)
print(Choosen)
Posted by: Guest on July-27-2021
3

get list with random numbers python

from num_tool import random_num_list
print(random_num_list(0, 5, length=20))
Posted by: Guest on September-11-2021

Code answers related to "give random number get a list"

Python Answers by Framework

Browse Popular Code Answers by Language