Doing something once is easy. Doing it a thousand times by hand is impossible. Loops solve this by repeating code automatically. In the last section, you made decisions with if statements.
Now you'll repeat actions with loops. Print numbers to . Process every item in a list. Keep asking for input until the user types "quit". By the end of this section, you'll use while loops and for loops confidently.
You'll control loop flow with break and continue, and combine loops with conditions for powerful patterns. This is where programming becomes useful.