Programming Basics/Loops

Loops are used to repeat sections of code, either infinitely, or until a condition is met.

There are two common types of loops, While loops and For loops.