Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for Median by capback250
def checkio(data):
array = data
array.sort()
if len(array)%2 == 1:
i = len(array)//2
return array[i]
else:
i = len(array)/2
summa = float((array[i]+array[i-1])/2.0)
return summa
Feb. 9, 2016