Question: In-class exercise (IE) 9-5: Statistics. You can import only numpy. Find proper numpy methods. Use them as needed. From your inputs, calculate sum, mean, median,
In-class exercise (IE) 9-5: Statistics. You can import only numpy. Find proper numpy methods. Use them as needed. From your inputs, calculate sum, mean, median, product, geometric mean, standard deviation, and root-mean-square. Print them in well-aligned shape. Each value must be round up to the 1st decimal. Make it repeat forever. Use only one 'while' loop for the repetition. Don't use 'for loop. You will need only NumPy methods. Enter integer numbers with space: 1 2 3 sum mean median product GeoMean std rms 6 2.0 2.0 6 1.8 0.8 2.2 Enter integer numbers with space: 3 4 5 100 sum mean median product GeoMean 112 28.0 4.5 6000 8.8 std 41.6 rms 50.1 MacBook Air
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
