Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
sorted solution in Clear category for Median of Three by MrPod
median_three = lambda items: items[:2] + [sorted(items[i - 2:i + 1])[1] for i in range(2, len(items))]
Sept. 8, 2019
Comments: