You are viewing a single comment's thread. Return to all comments →
n=int(input()) a=[int(x) for x in input().split()] print(sum(a))
Simple Array Sum
You are viewing a single comment's thread. Return to all comments →
n=int(input()) a=[int(x) for x in input().split()] print(sum(a))