Question: Python I Programming Project This assignment involves the use of lists and functions. Climate data is collected on each city and state. Design a program
Python I Programming Project This assignment involves the use of lists and functions. Climate data is collected on each city and state. Design a program that lets the user enter the total rainfall for each of 12 months into a list. The program should calculate and display the total rainfall for the year, the average monthly rainfall, and the months with the highest and lowest rainfall amounts. The total and average should be rounded to 2 decimal places. Use a global constant list for the month names that can be processed with a for loop. Create functions and use arguments/parameters as shown in the hierarchy chart/data flow diagram below. Create each of the functions and create the main program which calls the functions.
Your output should look like the Test Data below. Make sure to include header comments and function comments in your program. In Python
main wrainlistl] rainListl rainList rainListu rpinList[] total avg highest lowest getRainfall(O calcTotal0) calcAvg() findHighest) findLowest()
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
