EXAMPLE_NUM01 #
for I in Range (0,10):
IF I <. 5:
Print ( "Loop", I)
the else:
Continue # out of this cycle, the next cycle continues, break the entire cycle is the end of
print ( "haha .. . ")
# EXAMPLE_NUM02
for I in Range (10):
Print (" ------- ", I)
for J in Range (10):
Print (J)
IF J>. 5:
BREAK
031006 for loop (3)
Guess you like
Origin www.cnblogs.com/azxsdcv/p/12458118.html
Recommended
Ranking