输出为何是2550 多出来的50哪来的
sum = 0
x = 0
while True:
x = x + 1
if x > 100:
break
if x%2==0:
sum=sum+x
print (sum )
sum = 0
x = 0
while True:
x = x + 1
if x > 100:
break
if x%2==0:
sum=sum+x
print (sum )
2019-12-30
举报