Compute the mean of a list after removing the smallest and largest values.
Constraints
Example
>>> average_excluding_min_max([1, 2, 3, 4, 5]) 3.0 >>> average_excluding_min_max([10, 5, 20, 15]) 12.5 >>> average_excluding_min_max([7, 7, 7]) 7.0
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints