need help and idk what the problem is
I made this quiz and whenever I enter the right answer it's not adding a point to the correct value I made. whenever I enter all the correct questions it says that I got 10 incorrect, I need some help.
This is because
user_input is defined at the top as whatever you answer to
Do you want to play this game (yes/no)?
for question in questions: user_input=question_form(question["Question"]) if user_input==question["answer"] correct+=1 else: incorrect+=1