Question: Python I Chapter 7 Programming Project This assignment involves the use of lists, tuples, and functions. You should also use appropriate exception handling. Climate data

Python I Chapter 7 Programming Project This assignment involves the use of lists, tuples, and functions. You should also use appropriate exception handling. 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. This program should be modularized into functions. Create the functions and use appropriate parameter passing to/from the functions. Your output should look like the Test Data below. Make sure to include header comments and function comments.

Test data:

Enter total rain for January: 3.66

Enter total rain for February: 3.9 --through Dec

The total rainfall for the year is 49.07 inches

the average monthly rainfall is 4.09 inches.

the highest monthly rainfall is in May.

The lowest monthly rainfall is in August.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!