for循环:
break:结束整个循环
continue:跳出本次循环,进入到下一个循环
--------------------------------------
for i in range(0,10,2):
print('loop',i)
for i in range(10):
print('loop',i)
for i in range(0,10,3):
print('loop',i)
'''
for i in range(10):
if i <3:
print('loop',i)
else:
continue
print("hehe...")
'''
for i in range(10):
print('--------',i)
for j in range(10):
print(j)
if j >5:
break