how to make a list at random in python code example Example: python random generator from list import random n = random.random() print(n)