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")
Question: What team is based in Seattle?
Answer: Seahawks
Correct Answer
Question: What team is based in Pittsburgh
Answer: Steelers
Correct Answer
Question: Who is the QB for the Green Bay Packers?
Answer: Aaron Rodgers
Correct Answer
Question: What team won the 2022 Superbowl?
Answer: L.A Rams
Correct Answer
Question: Who is the G.O.A.T?
Answer: Mitch Trubisky
Correct Answer
5 Answers correct