Skip to content

Glossary: Python Basics

break

A keyword that leaves a loop immediately. It is often used inside `while True:` to stop when the user types `done`.

Where the book teaches it

Related terms

continuewhile loop