loading
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from random import *
score=0
for i in range(1,11):
  a=randint(1,9)
  b=randint(1,9)
  
  print(a,"*",b)
  c=int(input("=?"))
  if c==a*b:
    
    score=score+1
    print("bravo, score=",score)
  else:
    
    score=score-1
    print("faux, score=",score)