在Notepad++中输入这段代码老提示KeyboardInterrupt
sum = 0
x = 1
n = 1
while True:
if n > 20:
break
sum = sum + x
x = x *2
n =n + 1
print sum
在Notepad++中输入这段代码老提示KeyboardInterrupt
sum = 0
x = 1
n = 1
while True:
if n > 20:
break
sum = sum + x
x = x *2
n =n + 1
print sum
在Notepad++中输入这段代码老提示KeyboardInterrupt
2018-05-10
举报