The words break and continue are keywords in the Python language, having a predefined action to be done.
Work Step by Step
The $ break $ and $continue$ statements in Python are different from $goto$ statements. They operate only in a loop statement. The $break$ statement breaks out of the loop, and the $continue$ statement breaks out of the current iteration in the loop.