The break statement in Python is used to exit or "break" out of a loop (either a for or while loop) prematurely, before the loop has iterated through all its items or reached its condition.
In this article, you will learn how to use the break, continue and pass statements when working with loops in Python. We use break, continue statements to alter the loop’s execution in a certain manner.