Answer to Question #157100 in Python for Joe

Question #157100

write code using the range function to add up the series 20, 30, 40,...90


1
Expert's answer
2021-01-21T03:20:02-0500
s = 0
for i in range(20,91,10):
    s = s + i
print(str(s))

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