Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 9.9 inches

February 16.1 inches

March 5.4 inches

April 4.7 inches

May 8.9 inches

June 5.4 inches

July 9.9 inches

August 2.1 inches

September 1.7 inches

October 4.1 inches

November 9.2 inches

December 6.3 inches

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions