#mastery20 Use of loops with “for”

“i” is the variable that is often used in “for” loops (an iterative loop which means you keep doing something over and over again

For each of the numbers or the things in the range make “i” refer to them and each of those loops is going to refer to each one of those numbers or things

What this program does is that it assigns “i” to every element in that range without including the last number (10)

CC BY 4.0 #mastery20 Use of loops with “for” by Gilberto Rogel García is licensed under a Creative Commons Attribution 4.0 International License.

Comments are closed.