break2 = False while (True): // 省略 while (True): // 省略 if xxx: break2 = True break if (break2): break
转载自:https://blog.csdn.net/Dontla/article/details/103322728