does anyone know the answer to 2.5 code practice
Answers
Answered by
6
Answer:
import random
a = (random.randint(1,10))
b = (random.randint(1,10))
print ("What is: " + str(a) + " * " + str(b) + "?")
ans = int(input("Your answer: "))
if (a * b == ans):
print ("Correct!")
else:
print ("Incorrect!")
Explanation:
Similar questions