In [6]:
def get_mean(list):
sum = 0
for i in list:
sum += i
return sum/len(l)
In [8]:
l = [1,2,3,4,5]
In [9]:
get_mean(l)
Out[9]:
In [ ]: