Answer to Question #279130 in Python for Varaprasad

Question #279130

write a program which reads N inputs and print the sum of the given input integers


1
Expert's answer
2021-12-13T10:22:41-0500
n = int(input())
sum = 1
for _ in range(n):
    sum += int(input())
print(sum)

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