跳到主要内容

Loops: while, for, and accumulation

English

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.

讲义

登录或创建账户

IGCSE, A-Level & AP