For loop

This lesson disucsses the concepts of for loop and nested for loop using examples and illustrations

A for loop is great for doing things a certain amount of time. It’s like a while loop but the increment is included with the condition.


A for loop is set up like this:

Get hands-on with 1200+ tech skills courses.