Chapters
Python114 chapters

ReferenceKeywords

continue

Skips the rest of this pass and goes to the next one.

Signature

continue

Returns

Nothing.

Example

Python
for n in range(5):
    if n % 2 == 0:
        continue
    print(n)

Output

1
3

See also