// Returns a number between 0 and 1 Math.random();
# import random import random # prints a random value from the list list1 = [1, 2, 3, 4, 5, 6] print(random.choice(list1))