codetutor.
YOUR LEARNING SPACE / BEGINNER

Loops: repeat with purpose

Use a loop to repeat instructions while changing one value each time.

◷ under 1 min
A CODETUTOR MINI-LESSON

Loops, one step at a time.

Repeat instructions without repeating code.

CHAPTER 01

A loop repeats a set of instructions, changing one value each time.

Use ← → anywhere on this page to change slides
VIDEO EXPORT · NARRATED

Narrated lesson video

Download MP4
FOLLOW ALONG

Lesson transcript

4 moments
YOUR TURN

Ready to try one?

Practice what you just learned with a short exercise made for this lesson.