Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
middle of centre solution in Clear category for Median by Tinus_Trotyl
def checkio(data):
data = sorted(data)
i = (len(data) - 1) // 2
j = len(data) // 2
return (data[i] + data[j]) / 2
Feb. 11, 2018
Comments: