random question generator python

Solutions on MaxInterview for random question generator python by the best coders in the world

showing results for - "random question generator python"
Hanna
11 Jul 2019
1import random
2# from random import choice
3questions = ['Question1', 'Question2', 'Question3']
4random_item = random.choice(questions)
5
6print (random_item)