192k views
4 votes
4.9 Code Practice: Question 3

4.9 Code Practice: Question 3-example-1

1 Answer

4 votes

total = 0

for x in range(99, 0, -1):

total += x

print(total)

I hope this helps!

User Allen Koo
by
6.1k points