Question #279130

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


Expert's answer

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!

LATEST TUTORIALS
APPROVED BY CLIENTS