Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
with the if in the return solution in Clear category for Median by n.kenealy
def checkio(data):
data.sort()
return data[len(data)//2] if len(data) % 2 != 0 else((data[len(data)/2]+data[(len(data)/2)-1]))/2.0
July 31, 2015
Comments: