Concept Flow - For loop (rarely used in Ruby)
Initialize loop variable
Check condition: variable in range?
No→EXIT
Yes
Execute loop body
Update loop variable to next value
↩Back to Check
The for loop starts by setting a variable, checks if it is within a range, runs the loop body if yes, then moves to the next value until the condition fails.