1-2+3。。。+99
# -*- coding:utf-8 -*-m = 1a = 0b = 0while m < 100: n = m%2 if n == 0: a = a - m elif n == 1: b = b + m m = m + 1sum = a + bprint(sum)t = 0for s in range(0,100): w = s%2 ...