Home / Python / Day 2: Control Flow / Break & Continue

Break & Continue

break exits a loop early; continue skips the current iteration.

Break and Continue

These statements give you control over loop execution flow.