Find array sum

i edited the above code check it again i am having problem in opening the link.
actually i forgot to add the last carry in the first program.

1 Like

tq bro its working

Bro can you explain that …
so that i can understood easily

for _ in range(int(input())):
  elements=input()
  sumOfElements=sum(list(map(int,input().split())))
  print(sumOfElements)