Python intro with mwalimu jini

The break statement is used to break out of a loop statement i.e. stop the execution of
a looping statement, even if the loop condition has not become False or the sequence
of items has not been completely iterated over.
An important note is that if you break out of a for or while loop, any corresponding
loop else block is not executed.

The continue statement is used to tell Python to skip the rest of the statements in
the current loop block and to continue to the next iteration of the loop.