Introduction
A for loop helps you repeat actions easily without writing the same code many times.
When you want to print numbers from 1 to 10.
When you need to check each item in a list or array.
When you want to add up all values in a collection.
When you want to repeat a task a fixed number of times.
When you want to process each character in a word.