code
# Author:黑猴子
#continue
for i in range(0,10):
if i <3:
print("loop ",i)
else :
continue
print("hehe...")
运行
loop 0
hehe...
loop 1
hehe...
loop 2
hehe...
code
# Author:黑猴子
#continue
for i in range(0,10):
if i <3:
print("loop ",i)
else :
continue
print("hehe...")
运行
loop 0
hehe...
loop 1
hehe...
loop 2
hehe...