import random numberList = [1,2,3,4,5] print(random.choice(numberList)) # Prints a random number from the list