Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
# Import statistics Library import statistics # Calculate middle values print(statistics.median([1, 3, 5, 7, 9, 11, 13])) print(statistics.median([1, 3, 5, 7, 9, 11])) print(statistics.median([-11, 5.5, -3.4, 7.1, -9, 22]))
7
6.0
1.05