Please enable JavaScript to use CodeHS

Chapter 3


3.2 For Loops

For Loops

Print Ten Hellos

The Range Function

Counting in Range

One More Range Parameter

Running Total

Running Total, Part 2

Check Your Understanding

  1. Incorrect Correct No Answer was selected Invalid Answer

Exercise: Average Receipt Value


Term Definition
Loop A loop is a way to repeat code in your program.
Indentation Indentation is the visual structure of how your code is laid out. It uses tabs to organize code into a hierarchy.