while中的break意思是结束循环
start = 0 while True: print(start) if start == 100: break # 如果start = 100 就退出循环 start += 1
原文地址:https://www.cnblogs.com/zhengkui/p/9052875.html
时间: 2024-10-13 21:52:04
while中的break意思是结束循环
start = 0 while True: print(start) if start == 100: break # 如果start = 100 就退出循环 start += 1
原文地址:https://www.cnblogs.com/zhengkui/p/9052875.html