Answers for "how to print random value from a list"

23

how to randomly choose from a list python

random.choice(name of list)
Posted by: Guest on December-04-2019
1

python random generator from list

import random
n = random.random()
print(n)
Posted by: Guest on June-01-2020

Code answers related to "how to print random value from a list"

Python Answers by Framework

Browse Popular Code Answers by Language