Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Median by hell0
from typing import List
def checkio(data: List[int]) -> [int, float]:
data.sort()
return (data[(len(data)//2)-1+(len(data)%2)]+data[len(data)//2])/2
June 11, 2021