FunctionRacerProblemsRace

Drop Lowest Average

EasyNumPyPython

A teacher drops the single lowest score before averaging. Return the average of the remaining scores as a float. If the lowest value appears several times, only one copy is dropped. scores has at least 2 values.

Example 1

scores [50,80,100]
returns 90.0

Dropping 50 leaves 80 and 100, which average 90.0.

Constraints

Race itor take your time

Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.

More NumPy problems