BreakAnweisung
BreakAnweisung is a programming construct used to terminate the execution of the innermost loop or selection construct in which it appears. It is a control flow statement that allows a program to exit a loop or a switch-like structure before its natural end, transferring control to the first statement after the loop or switch.
In common languages such as C, C++, Java and JavaScript, the BreakAnweisung ends the current loop iteration
Python uses a BreakAnweisung to terminate the nearest enclosing loop (for or while). Unlike C/Java, there is
Common use cases include terminating a loop after a condition is met, breaking out of a search
See also: loop control, switch statement, labeled statements.