100 以内的加减法,差要大于 0

利用python输出100 以内的加减法,差要大于 0,结果输出为4*25的

for i in range(1, 100):
    for j in range(1, 100):
        if i - j > 0 and (i + j) % 4 == 0:
            print('%d - %d = %d' % (i, j, i - j))
for x in range(1, 101):
    for y in range(1, 101):
        if x - y > 0 and x - y == 4 * 25:
            print(f"{x} - {y} = {x - y}")
import random
n=0
while n<100:
    a=random.randint(0,100)
    b=random.randint(0,100)
    c=random.randint(0,1)
    if c:
        if a+b<100:
            print(f'{a}+{b}=',end='\t')
        else:
            continue
    else:
        if a-b>0:
            print(f'{a}-{b}=',end='\t')
        else:
            continue
    n+=1
    if n%4==0:
        print()