Python Continue Statements

The Continue statements is used to skip the rest code inside a loop the current iteration only.loop does not terminate but continues on with the next iteration,the following example of continue.

Example

							
for val in "bharat":
	if val == "r":
		continue
		print(val);
							
							

Output

							
b
h
a
a
t
							
							
Share Share on Facebook Share on Twitter Share on Google+ Share on LinkedIn Pin on Pinterest Share on Stumbleupon Share on Tumblr Share on Reddit Share on Diggit