continue
for i in range(10): if i<5: continue #不往下走了,直接进入下一次loop print("loop:", i )
for i in range(0,10): if i < 3: print("loop",i) else: continue print("hehe")
break
for i in range(10): if i>5: break #不往下走了,直接跳出整个loop print("loop:", i )
for i in range(10): print("---",i,"---") for j in range(10): print(j) if j>5: break