import random
import random
import math
Name= input("please introdcue your name: ")
print(f"{Name},Welcome to your math exam")
score= 0
n1 = random.randint(0,10)
n2 =random.randint(0,10)
for i in range(10):
n1 = random.randint(0, 10)
n2 = random.randint(0, 10)
answer1 = int(input(f"How much is {n1} x {n2}: "))
if answer1 == (n1*n2):
print("correct")
score +=1
else:
print("Incorrect")
print(f"{name}, your score is {score}")