Looping
Python supports conditional looping and iterative looping. For each type, the body
of the loop (the loop-group) can contain break and/or continue
statements.
The break statement immediately halts execution of the loop-group and transfers control to the statement immediately following the loop.
The continue statement skips the remainder of the current iteration of the loop-group and continues with the next iteration of the loop-group.
More: