Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A loop statement allows us to execute a block of code multiple times.

Loops are an efficient way to automate repetitive tasks, without duplicating code.

The main types of loops include:

Page Tree
root@self
startDepth1