Using the continue statement in a for/in structure. : Continue : Language Basics PYTHON examples


PYTHON examples » Language Basics » Continue »

 

Using the continue statement in a for/in structure.


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 examples

 Navioo Language Basics
» Continue