mardi 1 décembre 2015

Python Random Questions (Quiz)

I'm trying to make a program that asks questions that i have written. For example one of the questions may be:

question1 = input('Who wrote 1984?')
if question1 = ('george orwell'):
print('Correct!')
else: print('Wrong!')

Like i am not sure how to do it. Maybe make a list and randomise?




Aucun commentaire:

Enregistrer un commentaire