Question: Python: For every five numbers in the following list from left to right, calculate the means of every five numbers. inputList = [2, 1, 3,
Python: For every five numbers in the following list from left to right, calculate the means of every five numbers. inputList = [2, 1, 3, 5, 2, 7, 3, 7, 4, 6, 9, 1, 0, 2, 4, 8, 9, 2, 0, 1]. For example, the first five numbers are 2, 1, 3, 5, and 2, and the mean is 2.6; the second five numbers are 1, 3, 5, 2, and 7, and the mean is 3.6. Once the input list is provided, your code should read numbers from the list automatically, without any user input.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
