Hi there,
The code for the following, is:-
number_of_elements = int(raw_input())
array = map(int, raw_input().split())
print sum(array)
Hope it helps!
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile