Introduction
Loops help you repeat tasks easily without writing the same code again and again.
When you want to keep asking a user for input until they give a valid answer.
When you need to process items in a list one by one until none are left.
When you want to run a task repeatedly until a certain condition changes.
When you want to check a condition before or after running some code multiple times.