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
- The range Helper
- Counting Up
- Counting by Steps
- Counting Down