Python – Continue:

In this tutorial, we will learn about the Continue statement in Python.

Continue Statement is used to take the control to top of the loop for next iteration leaving the rest of the statements in the loop without execution

Below is the similar example of a for loop:

Below is the Output:

Below is another example where the printing of even numbers are ignored:

Below is the output: