# run this program by typing
#  python3 multiply_practice.py

import random

x = random.randint(0, 10)
y = random.randint(0, 10)

correct = x * y

theyGotItCorrect = False


while not theyGotItCorrect:
    response = int(input('What is ' + str(x) + '*' + str(y) + '? '))
    
    if response == correct:
        print('Correct, great!')
        theyGotItCorrect = True
    else:
        print('Sorry, that is wrong.') #  The correct answer is ' + str(correct))