Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- one = 1
- randint = randint(1,10)
- result1 = one * randint
- inp1 = input("What number would you like to practice? ")
- if inp1 == "one" or "1":
- inp2 = input("What is " + str(one) + "*" + str(randint) + "=")
- if inp2 == result1
- print("You are right")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement