Introduction
Loops help us repeat actions many times without writing the same code again and again. They save time and make programs shorter and easier to read.
When you want to print numbers from 1 to 10.
When you need to check every item in a shopping list.
When you want to add up all the scores in a game.
When you want to keep asking a user for input until they give a correct answer.