continue code example
Example 1: break continue
The break statement "jumps out" of a loop.
The continue statement "jumps over" one iteration in the loop.
Example 2: continue
# Program to show the use of continue statement inside loops
for val in "string":
if val == "i":
continue
print(val)
print("The end")