Created
November 18, 2021 01:37
-
-
Save nns2009/f15d81e20754d3c4a33e56f36d6b42e8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Made in 21 second | |
# Watch this video to see how: | |
# https://youtu.be/r3a9obNqno4 | |
from random import randint | |
m = 5 | |
while True: | |
a = randint(m, 3*m) | |
b = randint(m, 3*m) | |
print(f'{a} * {b} = ?') | |
while int(input()) != a * b: | |
print('Wrong') | |
print('Correct') | |
print('-' * 20) | |
m = m * 7 // 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment