Python Continue Statement

Python Continue Statement is used to stop rest of the code inside the loop for current iteration only.

Loop does not terminate but continue with the next iteration.

Example: Python continue statement

name="Areya"
for ch in name:
   if ch==e:
      continue
   print(ch)
print("end")

Leave a Reply