import random from random import choice ops = ('+','-','×','÷') ans = [] i=0 while i < 100 : op1 = choice(ops) op2 = choice(ops) n = random.randint(1,9) if op1 == '+' and op2 == '+' : a = random.randint(0,100) b = random.randint(0,100-a) c = random.r…