import getpass, sys
questions = 5
correct = 0
def question_and_answer(prompt, answer):
print("Question: " + prompt)
msg = input()
print("Answer: " + msg)
if answer == msg:
print("Correct Answer")
global correct
correct+=1
else:
print ("Incorrect Answer")
question_and_answer("What team is based in Seattle?", "Seahawks")
question_and_answer("What team is based in Pittsburgh", "Steelers")
question_and_answer("Who is the QB for the Green Bay Packers?", "Aaron Rodgers")
question_and_answer("What team won the 2022 Superbowl?", "L.A Rams")
question_and_answer("Who is the G.O.A.T?", "Mitch Trubisky")
print(correct, "Answers correct")