import random # from random import choice questions = ['Question1', 'Question2', 'Question3'] random_item = random.choice(questions) print (random_item)