求解答,站在此角度上
x=1不要改成0,怎样改能得出正确结果
sum = 0
x = 1
while True:
sum+=x
if x>100:
break
if x%2==0:
continue
x=x+1
print sum
x=1不要改成0,怎样改能得出正确结果
sum = 0
x = 1
while True:
sum+=x
if x>100:
break
if x%2==0:
continue
x=x+1
print sum
2019-07-27
举报