Introduction
A for loop helps you repeat a set of instructions many times without writing them again and again.
When you want to count from 1 to 10 and do something each time.
When you need to process 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 sum numbers from 1 to 100 easily.
When you want to run a block of code with a changing number each time.