Hi, to answer your question, the game doesn't save points because you're not actually updating them. Basically, when you go to print to increase the score by 10, you're just saying to print the value of the variable points, increasing it by 10. To solve the error I changed the variable containing the score before saying how much it is, and to visualize it a little better I added another line of print to display the total score. Of course you can modify the program to your liking to make it more similar to the idea you have in mind, but I hope I have been of help.
The code is this:
name = input("Welcome to the Math Game show I'm your one and only host Miles and what is your name? :")
print ("Nice to see you're here", name, "You will answer 10 questions in 3.....2.....1.....GOOOO!")
question1 = int(input("What is 9 + 10? :"))
points = int(0)
if question1 ==21:
points += 10
print("correct here is ten points: +10 points")
print("Your points: ",points)
elif question1 ==19:
points += 10
print("correct here is ten points: +10 points")
print("Your points: ",points)
else:
points -= 10
print("incorrect: -10 points")
question2 = int(input("what is 25 x 6? :"))
if question2 ==150:
points += 10
print("correct here is ten points: +10 points")
print("Your points: ",points)
elif question2 ==21:
points += 10
print("correct here is ten points: +10")
print("Your points: ",points)
else :
points -= 10
print("incorrect: -10 points")
print("Your points: ",points)