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 country beat Spain yesterday in the world cup?", "Japan")
question_and_answer("Did the United States make it to the group stage of the World cup", "Yes")
question_and_answer("Who is the United States playing in the World Cup this saturday", "Netherlands")
question_and_answer("Who won the World Cup in 2018?", "France")
question_and_answer("Who is the most popular player that plays for Argentina?", "Messi")


print(correct, "Answers correct")