What Are Loops?
Now here's another way to use logic in our code.
Loops are chunks of code that repeat a task over and over again.
- Counting loops repeat a certain number of times.
- Conditional loops keep going until a certain thing happens (or as long as some condition is True).