My orders
How it works
Examples
Reviews
Blog
Homework Answers
Submit
Sign in
How it works
Examples
Reviews
Homework answers
Blog
Contact us
Submit
Question #101695
Write code using the range function to add up the series 99, 98, 97, ... 1 and print the resulting sum.
Expert's answer
s=0
for i in range(99, 0, -1):
s=s+i
print("s=",s)
Our fields of expertise
Programming
Math
Engineering
Economics
Physics
LATEST TUTORIALS
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult. You can find this expert in "Assignmentexpert.com" with confidence. Exceptional experts! I appreciate your help. God bless you!
#340153
on Dec 2023
Read all reviews >>