Skip to content

Loops: while, for, and accumulation

Handout

Loops

  • A loop repeats a block of code many times.
  • Loops let you count, add up numbers, and do work without copying lines.
  • In this lesson you learn the while loop and the for loop.

Handout

Log in or create account

IGCSE & A-Level