Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
split to half solution in Clear category for Median by imtiaz.rahi
def checkio(data) -> [int, float]:
data.sort()
half = len(data) // 2
return (data[half] + data[~half]) / 2
Oct. 23, 2019