Question: CODE IN PYTHON BEFORE YOU BEGIN CODING, MODEL YOUR PROGRAM LOGIC USING EITHER A FLOWCHART OR PSUEDOCODE Create a program that prompts the user to
CODE IN PYTHON
BEFORE YOU BEGIN CODING, MODEL YOUR PROGRAM LOGIC USING EITHER A FLOWCHART OR PSUEDOCODE
Create a program that prompts the user to enter total rainfall for each of months into a list.
The program should compute and display total rainfall for the year, average monthly rainfall, and
the names of the months that had the highest and lowest monthly amounts.
a If there is a tie for either highest or lowest monthly rainfall amount, you may display any
of the tied months.
b You may either use two separate lists for month names and rainfall amounts or a two
dimensional list that contains both month names and rainfall amounts.
See the example below for sample input and output:
Enter rainfal for January:
Enter rainfall for February:
Enter rainfall for March:
Enter rainfall for April:
Enter rainfal for May:
Enter rainfall for June:
Enter rainfall for July:
Enter rainfal for August:
Enter rainfall for September:
Enter rainfa for October:
Enter rainfa for November:
Enter rainfall for December:
Total rainfal for the year:
Average rainfa for the year:
Highest rainfal month: March
Lowest rainfal month: September
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
