python how to pull a random value from a list code example Example: python random generator from list import random n = random.random() print(n)