def aad(lst):
"""
return the average absolute deviation of the list
"""
temp = []
mean = sum(lst) / float(len(lst))
for i in range(len(lst)):
temp.append(float(abs(lst[i] - mean)))
return sum(temp) / len(lst)
b = [6, 15, 26, 15, 18, 23, 19, 32, 28, 44]
print aad(b)