Using the continue statement in a for/in structure. : For : Statement PYTHON TUTORIALS


PYTHON TUTORIALS » Statement » For »

 

Using the continue statement in a for/in structure.


for x in range111 ):
   if x == 5:
      continue
   print x,

print "nUsed continue to skip printing the value 5"



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Statement
» For