Please enable JavaScript to use CodeHS

Rhode Island Tech Apps and Coding

Lesson 1.14 Using i in For Loops

Description

In this lesson, students will expand their knowledge of for loops. They are aware that for loops execute the same lines of code a given number of times but will learn that i is actually a variable that can be used to control commands inside the loop as it is running.


Objective

Students will be able to:

  • Use i as a variable inside their for loop to control different commands