0Pricing
Python For Kids · Lesson

Break and Continue

Control your loops effectively

1

Break and Continue

Welcome back to the Control Flow lesson! Today, we'll learn how to control your loops more effectively using the break and continue statements.

Break and Continue — illustration 1

2

What are Break and Continue?

Break and Continue are statements that help you control the flow of loops in your programs.

  • Break: Exits the loop immediately.
  • Continue: Skips the current iteration and moves to the next one.

These statements make your loops more flexible and powerful.

All lessons in this course

  1. If-Else Statements
  2. Loops in Python
  3. Nested Loops
  4. Break and Continue
← Back to Python For Kids