0Pricing
Coding for Kids · Lesson

The range Helper

Count automatically.

The range Helper 🔢

range is a counting helper! It makes a line of numbers for us so we do not have to type them all. 🪄

range to a Number 📏

range(5) counts 0, 1, 2, 3, 4. It stops BEFORE 5!

for i in range(5):
    print(i)

All lessons in this course

  1. The range Helper
  2. Counting Up
  3. Counting by Steps
  4. Counting Down
← Back to Coding for Kids