LearnPy Hub
← NumPy problems
Medium

How Many Above Average?

Read integers. Print the mean with 2 decimals, then np.count_nonzero(a > a.mean()), then the values above the mean as a list.

Input

One line.

Output

Three lines.

Sample 1

Input
1 2 3 4 10
Output
4.00
1
[10]

Sample 2

Input
5 5 5
Output
5.00
0
[]
solution.py
Output appears here
How Many Above Average? · Python practice problem · LearnPy Hub