私はPythonで簡単なクイズを書いていますが、Python GUIで「SyntaxError:単一のステートメントをコンパイル中に複数のステートメントが見つかりました」というメッセージが表示され続けます。助けてください。
print("Welcome to my quiz!")
score = 0
question1 = str(input("What colour is a banana."))
if question.lower() == 'yellow':
print("Correct. The answer is", question1)
score = score + 1
else:
print("Incorrect. The answer is yellow, not", question1)
print score