Answer to Question #107393 in Python for Amanda

Question #107393
Write code using the range function to add up the series 20, 30, 40, ... 90 and print the resulting sum each step along the way.
1
Expert's answer
2020-04-01T11:59:00-0400
count = 0
for x in range(20, 100, 10):
    count += x
    print(count)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS