为什么这个样子发算不出
sum = 0
x = 0.0
while True:
x = x + 1
if x > 100:
break
if x / 2 >= 1.0:
continue
sum = sum + x
print sum
运行不了么
sum = 0
x = 0.0
while True:
x = x + 1
if x > 100:
break
if x / 2 >= 1.0:
continue
sum = sum + x
print sum
运行不了么
2017-07-05
举报