AI engineering glossary · Python core
What is continue?
continue: A statement that skips the rest of the current loop iteration and jumps to the next one. It helps to ignore unwanted items without nesting the rest of the body inside an if block.
continue: an example
for n in range(5): if n % 2 == 0: continue; print(n) prints only 1 and 3.
Related terms
More Python core terms
Where you learn it
continue is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.