Code Editor
Loops & Iterators

The 'For' Loop

Sometimes you do know how many times you'll be looping, however, and when that's the case, you'll want to use a for loop.


Take a look at the example for loop in the editor. Can you guess what it does? Click Run to see it in action.

Report a Bug
If you see a bug or any other issue with this page, please report it here.