FunctionRacerProblemsRace

Third Quartile

BeginnerNumPyPython

Return the 75th percentile of scores as a float, using the same method as np.percentile(scores, 75) (when the position falls between two sorted values, it blends them in proportion).

Example 1

scores [1,2,3,4,5]
returns 4.0

The sorted position 0.75 * 4 = 3 is exactly the value 4.

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