Answer to Question #102365 in Python for bo

Question #102365
Write code using the range function to add up the series 20, 30, 40, ... 90 and print the resulting sum. Expected output: 440
1
Expert's answer
2020-02-06T07:51:42-0500
s = 0
for num in range(20, 100, 10):
	s += num
print(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