#else 用于检测循环中间是否有被打断
count = 0
while count <=5:
print('loop',count)
count +=1
else:
print('程序正常执行完毕,中间没有被打断!')
转载于:https://www.cnblogs.com/anzhangjun/p/8364865.html
#else 用于检测循环中间是否有被打断
count = 0
while count <=5:
print('loop',count)
count +=1
else:
print('程序正常执行完毕,中间没有被打断!')
转载于:https://www.cnblogs.com/anzhangjun/p/8364865.html