1,,,,while(数字到5跳出循环) n=0 while True: if n==5 print('you are good') break n+=1 2. 转载于:https://www.cnblogs.com/52forjie/p/7202562.html