Scores are [18, 21, 19, 24, 22]. Print the sum on one line and the mean on the next.
Data analysis labNumPy problems
Problem 27 of 50 · Reductions · Easy
Sum and mean
Reduce a 1-D array to two numbers.
Preparing NumPy, Pandas, and MatplotlibShift+Enter runs the cell you are in.
1
Your solution
2