Filter Numbers Greater Than the Average
Given a list of n integers, compute the average of all elements and return a new list containing only the elements that are strictly greater than the average. Preserve their original relative or...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
