For loops Flashcards
1
Q
What does a for loop do
A
A for loop repeats the code a given amount of time.
2
Q
3 parameters of a loop
A
(x,y,z)
x = Starting at 0
y = Ends before y
z = How much it increments
3
Q
Nested for loop
A
First loop is the outer loop with the second loop being the inner loop