Introduction
Loops help us repeat actions many times without writing the same code again and again.
When you want to print numbers from 1 to 10.
When you need to add all items in a list.
When you want to keep asking a user for input until they give a correct answer.
When you want to process each item in a collection like an array.
When you want to repeat a task until a condition changes.