while count <= 100: print(count) if count == 5: break count += 1 print('loop over') 转载于:https://www.cnblogs.com/ludongjun/p/8321879.html