Introduction
A for loop helps you repeat a set of actions many times without writing the same code again and again.
When you want to count from 1 to 10 and do something each time.
When you need to go through each item in a list one by one.
When you want to repeat a task a fixed number of times, like printing a message 5 times.
When you want to process numbers in a range, like checking all numbers from 0 to 100.
When you want to build or fill a collection step by step.