python自动生成加减乘除计算最简单代码
import randomcount = 0right = 0while True: a = random.randint(1, 11) b = random.randint(1, 11) dict = [["%d+%d=" % (a, b), a + b], ["%d-%d=" % (a, b), a - b], ["%d*%d=" % (a, b), a * b...