为啥if条件放前面和放后面的结果是一样的呢
while True:
sum = sum + x
x = x * 2
n = n + 1
if n > 20:
break
while True:
if n > 20:
break
sum = sum + x
x = x * 2
n = n + 1
while True:
sum = sum + x
x = x * 2
n = n + 1
if n > 20:
break
while True:
if n > 20:
break
sum = sum + x
x = x * 2
n = n + 1
2018-07-30
举报