Question: Write a Python program that allows the user to enter the total rainfall for each of 12 months into a list. The program should calculate

Write a Python program that allows the user to 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.

Data:

January: 8.9 inches

February: 11.1 inches

March: 13.4 inches

April: 6.9 inches

May: 8.7 inches

June: 9.1 inches

July: 15.9 inches

August: 4.4 inches

September: 3.1 inches

October: 5.6 inches

November: 7.8 inches

December: 8.1 inches

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!