the_total_score = 0

x = input("What happens when you get fouled inside the 18-yard box?")
if x == "Penalty Kick":
    print("Yes, you got it correct!")
    the_total_score += 1
else:
    print("Sorry you did not get it correct")

x = input("How many yellow cards does it take to get a red card")
if x == "two" or x == "2" or x == "Two":
    print("that is correct")
    the_total_score +=1
else:
    print("sorry that is incorrect")

x = input("How many players are on at one time on each team?")
if x=="11 players":
    print("That is correct")
    the_total_score += 1
else:
    print("That is not correct")

x= input("Who is the best soccer player to ever play the game")
if x== "Messi" or x== "Lionel Messi":
    print("That is correct")
    the_total_score += 1
else: 
    print("That is incorrect")


print(str(the_total_score) + "/4")
Yes, you got it correct!
that is correct
That is correct
That is correct
4/4