Above Average Count
Return how many values in scores are strictly greater than the average of all the values. Return an int.
Example 1
scores [10,20,30,40]
returns 2
The average is 25, and 30 and 40 are above it.
Constraints
1 <= len(scores) <= 100
Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.
More NumPy problems
- Average TemperatureBeginner
- Black and WhiteBeginner
- Celsius to FahrenheitBeginner
- Clip ScoresBeginner
- CorrelationBeginner
- Count DistinctBeginner
- Count PositivesBeginner
- Count Target in GridBeginner