Question: Write code that does the following by iterating over the list months: Displays the elements in the list months and rainfallMI as a two column

Write code that does the following by iterating over the list months:
Displays the elements in the list months and rainfallMI as a two column table as shown below.
Finds the month with the largest rainfall and stores the month name in the variable maxMonth and the rainfall value in maxRain.Finds the month with the smallest rainfall an
d stores the month name in the variable minMonth and the rainfall value in minRain.
Total the rainfall for the year and store the result in totRain.Print the information as shown in expected output.

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!