Lesson 5️⃣: Iteration

Bitesize Key points from this lesson

  1. We looked at for loops which are a count-controlled iteration when we know how many times we want to repeat a block of code.
  2. We learned about the while loop, which is a condition-controlled iteration that continues to execute as long as a specified condition is true.
  3. We explored the break statement, which allows us to exit a loop prematurely when a certain condition is met.

Activities

The best way to improve your programming skills is to practice.
I created a course for learning Python that you can follow alongside these lessons.
You can check these out at BitFez’s Learning to code in Python Roadmap 🛣
You should specifically follow the Step 3: Iteration activities: