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 print numbers from 1 to 10.
When you need to add up all values in a list.
When you want to apply the same change to each item in a group.
When you want to check each element in a collection one by one.