🔥
0
0 XP
Lv.1 Beginner
Log In
Home
/
Python
/
Getting Started
/
For Loops
/
Fix The Range
/
Exercise
Fix the Range
This program should print 1 to 5, but it only prints 1 to 4. Fix it!
Expected output:
text
1 2 3 4 5
💡
Hints
?
Hint 1
Reveal (-5 XP)
🔒
Hint 2
🔒
Hint 3
python
Reset
9
1
2
for
i
in
range
(
1
,
5
):
print
(
i
)
▶ Run
Visualize
✓ Submit
← Count by Twos
Sum 1 to N →