I am having trouble understanding why this code isn't working, could someone please help me out?
You are viewing a single comment. View All
You could try pairing the question with an answer using pairs.
q1 = ('What are clouds made of?', 'Water') q2 = ('What is Aurora Borealis mean?', 'Northern Lights') # q1 gets the question, q1 is the answer # same thing for q2, q3...and so on answer = input(q1) if answer == q1: print("Correct") else: print("Incorrect") answer = input(q2) if answer == q2: print("Correct") else: print("Incorrect")