# -*- coding: utf-8 -*-
"""
Created on Tue Jun 12 10:02:59 2018

@author: Acer
"""
def _sum(arr,n):
    return (sum(arr))
arr=[]
arr=[1,2,3,4,5,6,7,8,9,10]
n=len(arr)
ans =_sum(arr,n)
print ("sum of the array is" ,ans)