#Python 3 code to find sum
#of elements in given array
#driver function

arr = []
#input values to list
arr = [12,3,4,15]
#sum() is an inbuilt function in Python
#the value
ans = sum(arr)

#display sum
print('Sum of the array is',ans)
