Introduction
Loops help us repeat tasks easily without writing the same code many times. They save time and make programs shorter and clearer.
When you want to print numbers from 1 to 10.
When you need to add up all items in a list.
When you want to keep asking a user for input until they give a valid answer.
When you want to repeat a game action multiple times.
When you want to process each item in a collection one by one.