sum of ele in arr

Solutions on MaxInterview for sum of ele in arr by the best coders in the world

showing results for - "sum of ele in arr"
Marilou
14 Oct 2019
1size=int(input("ENTER ARRAY SIZE"))arr=[]for i in range(size):    element=int(input())    arr.append(element)print("SUM OF ARRAY : ",sum(arr))