Introduction
Sometimes you want to repeat actions until a condition changes. Using a for loop like a while loop helps you do that easily.
When you want to keep doing something until a number reaches a limit.
When you wait for a user to enter a correct input.
When you want to repeat a task but don't know how many times in advance.