0Pricing
Coding for Kids · Lesson

Counting Up

Loop from low to high.

Counting Up 📈

Let us count up from a low number to a high one using range with a start! 🚀

Start and Stop 🎯

range(2, 6) counts 2, 3, 4, 5. It starts at 2 and stops before 6.

for i in range(2, 6):
    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