Question: Rainfall Statistics Design a function which calculates and displays the following: total rainfall for the year, the average monthly rainfall, the months with the highest
Rainfall Statistics
Design a function which calculates and displays the following:
total rainfall for the year,
the average monthly rainfall,
the months with the highest and lowest amounts.
The function takes as input the list of rainfall for months of the year. The function does not return
anything.
In the main, call the function using data from the monthly total rainfall of your birth city which is placed
in a list and used as input arguments to the function.Python
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
