Sign inSign in
ConceptSystems & CS

Break statement

A statement that breaks out of the most recently begun while loop.
as David J. Malan defines itHarvard UniversityThe wording closest to all 3 definitions
Watch it explained

Know first

Named as a prerequisite by the lectures that define this. The number is how many say so. A grey one has no page yet.

Opens up

Concepts that name this one as a prerequisite.

Lecturers

2

Each in their own terms, from the easiest level.

  • David J. Malan

    Harvard University · Introductory

    A keyword used in Python to deliberately break out of a loop when ready.
  • Ana Bell

    MIT · Introductory

    A statement that immediately exits the innermost enclosing loop, skipping any remaining code inside that loop.
    • 1:47Loops over Strings, Guess-and-Check, and Binary

Connections

8

The lectures that define it or assume it, and the concepts next to it.

Concepts5

Lectures3

2 lecturers. Definitions are written by AI from each lecture’s transcript. A time with a play mark starts the lecture at the moment the lecturer says it.