Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Compact + No conditional solution in Clear category for Median by emp23
def checkio(data):
A = sorted(data)
mid = len(A) - 1
return 0.5*(A[mid//2] + A[(mid+1)//2])
Aug. 16, 2015