I'm new to Python and I was trying to create a quiz but I don't know how to make the procedure.
The quiz is a phrase with gaps and you need to put the right word in the gaps. If the word is correct, print the phrase with the correct word in the gap. If wrong, print try again.
I'm trying something like this:
phrase = 'HTML is HyperText __1__ __2__.'
answers = ['Markup','Language']
def quiz(p,a):
""" I can do it manually with if statements,
but this is not a good idea.""""
Can someone help me?