Fundamentals5 / 30
Up next

for over a range

total = 0
# range(1, 5) is 1, 2, 3, 4
for i in range(1, 5):
    total += i
print(total)
What you're solving

range gives a sequence of ints