FunctionRacerProblemsRace

Percent at or Below

BeginnerSciPyPython

Return the percent (0 to 100) of the numbers in scores that are less than or equal to score.

Example 1

scores [50,60,70,80]
score 70
returns 75.0

50, 60 and 70 are at or below 70: three of four.

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 SciPy problems