import random list = ("Carrots","Peanuts","Apples","Peaches") random.choice(list) # return a random element from the list random.choice(list,2) # return 2 random elements from the list