Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In python Design a program that lets the user enter the total rainfall for each 12 months into a list. The program should calculate the
In python
Design a program that lets the user enter the total rainfall for each 12 months into a list. The program should calculate the display the total rainfall for the year, the average monthly rainfall , the months with the highest and lowest amounts. If 2 or more months are tied for the highest or lowest, choose the input that came first format the decimal precision of results as 2) Use the following numbers to test (Only type in the bold numbers in Interactive mode): Input Correct Output Enter the rainfall for January 1,925 Enter the rainfall for February 1.856 Enter the rainfall for Marche 2.6 Enter the rainfall for April: 3.534 Enter the rainfall for May: 4.761 Total rainfall: 38.24 Enter the rainfall for June: 4.092 Average rainfall 3.10 Enter the rainfall for July: 4.215 Highest rainfall: May Enter the rainfall for August: 3.628 Lowest rainfall: February Enter the rainfall for September 2,863 Enter the rainfall for October: 3.031 Enter the rainfall for November: 3.237 Enter the rainfall for December 2.449 Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started