1+2+3+....+100=     ?

n=1

s = 0

while n < =100:

s = s+n

n= n+1        # n=n+1    在print(s)上面的情况

print(s)

05-11 13:38