Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Boring solution in Clear category for Median by Vulwsztyn
def checkio(data):
data=sorted(data)
x=len(data)//2
if len(data)%2==1:
return (data[x])
else:
return ((data[x]+data[x-1])/2)
#replace this for solution
Oct. 26, 2016