Lesson 11 · Repeat a number of times

Programming basics · 3 min · See the playlist on YouTube ↗

✓ You already watched this lesson

The While loop, with True in its slot, never ends. The Repeat loop does the laps you tell it, counted before starting.

🎯 The challenge of this lesson

Change the ten laps to twenty and make the counter go up by two. What number does it end on?

Practise in the app

Stuck on this lesson?

Write your question and another student — or the teacher — will answer. Your email is never published: it is only used to let you know when someone replies.

Before being published, every message goes through an automatic filter that rejects bad language and any attempt to intimidate another person.

  • Loading the questions…