Loops

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: