Run »
# Import statistics Library import statistics # Calculate the high middle values print(statistics.median_high([1, 3, 5, 7, 9, 11, 13])) print(statistics.median_high([1, 3, 5, 7, 9, 11])) print(statistics.median_high([-11, 5.5, -3.4, 7.1, -9, 22]))
7
7
5.5