๐Ÿ“˜

Loop

Instructions that repeat.

๐Ÿ˜Š In simple words

Instructions that repeat.

๐ŸŽ“ Technical definition

A control structure (FOR, WHILE, REPEAT) that executes a block repeatedly while a condition holds or a fixed number of times.

Pseudocode example
1SET N = 32WHILE N > 03    DISPLAY N4    SET N = N - 15END WHILE

๐ŸŽ Real-world analogy

Brushing each tooth one after another until all are clean.

๐Ÿ”— Related concepts

โ† Whole glossary