摘要: for跳出多层循环 break_flag = False for i in range(10): print("爷爷层",i) for j in range(10): print("=爸爸层",j) if j == 3: break_flag = True break for k in range( 阅读全文
posted @ 2020-10-31 21:06 Python探索牛 阅读(1393) 评论(1) 推荐(1) 编辑