Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
native_median solution in Uncategorized category for Median by Jon_Red
def checkio(d:[int])->[int,float]:
if len(d)%2!=0:return sorted(d)[len(d)//2]
else:return(sorted(d)[len(d)//2-1]+sorted(d)[len(d)//2])/2
May 13, 2020