continue跳出本次循环,继续下次循环
break结束当前循环
for i in range(10): print('------',i) for j in range(10): print(j) if j > 5: break