When programming, you often want to perform the same operation several times. In order to avoid programming the same thing several times, it is used instead of so-called iteration sets also called loops. Loops are very useful in programming and we will use them a lot as we create different parts / functions in our programs. We have learned the while loop that repeats one or more operations until a condition is met. We have also learned the for loop that is performing an operation a specific number of times.