Real Python
Follow
Quiz: How to Exit Loops Early With the Python Break Keyword
In this quiz, you'll test your understanding of the Python break statement. This keyword allows you to exit a loop prematurely, transferring control to the code that follows the loop.