def generate_primary_problem(): """生成小学四则运算题目""" operators = ['+', '-', '*', '/'] a = random.randint(1, 20) b = random.randint(1, 20) operator ...