In Python, the break statement is used to terminate the execution of the nearest enclosing loop in which it appears. When the break statement is encountered inside a loop, the loop is immediately exited, and the program continues with the ...
Home/the break statement