为什么结果错误?
sum = 0
x = 0
while True:
x=x+1
if x%2==0:
continue
sum=sum+x
if x > 100:
break
print sum
sum = 0
x = 0
while True:
x=x+1
if x%2==0:
continue
sum=sum+x
if x > 100:
break
print sum
2018-07-19
举报