10. Repeating Steps with NumbersΒΆ
Learning Objectives:
Introduce the concept of a logical expression, which is either true or false
Compare and contrast
while
andfor
loopsUse the accumulator pattern in loops
Learning Objectives:
Introduce the concept of a logical expression, which is either true or false
Compare and contrast while
and for
loops
Use the accumulator pattern in loops