Please enable JavaScript to use CodeHS

Chapter 3

Looping

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

Vocabulary

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.

Do you have feedback on this lesson? Let us know here
Rate this lesson:

Feedback on this lesson:

Issue found (optional):