write a program which reads N inputs and print the sum of the given input integers
n = int(input()) sum = 1 for _ in range(n): sum += int(input()) print(sum)
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment