Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(Python) Design a program that lets the user enter the total rainfall for each of 12 months into a list. The program should calculate and

(Python) Design a program that lets the user 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 highest and lowest rainfall amounts.

image text in transcribed

Python 3.7.0 Shell File Edit Shell Debug OptionsWindow Help Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:06:47) [MSC v.1914 32 bit (Intel)] on win32 Type "copyright", "credits" or "license)" for more information RESTART: C.lUserslShubalOneDrivelDocumentslShubaRowan PythonlAA Rowan 2018 Springl W eek 11 Class 2lrainfallstatslist.py Enter the rainfall for January: 10 Enter the rainfall for February: 20 Enter the rainfall for March: 30 Enter the rainfall for April: 40 Enter the rainfall for May: 50 Enter the rainfall for June: 60 Enter the rainfall for July: 70 Enter the rainfall for August: 80 Enter the rainfall for September: 90 Enter the rainfall for October: 100 Enter the rainfall for November: 110 Enter the rainfall for December: 120 Total rainfall: 780.0 Average rainfall: 65.00 Highest rainfall: 120.0 Lowest rainfall: 10.0 Ln: 21 Col: 4

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_2

Step: 3

blur-text-image_3

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

OpenStack Trove

Authors: Amrith Kumar, Douglas Shelley

1st Edition

1484212215, 9781484212219

More Books

Students also viewed these Databases questions

Question

What about leadership lessons from particularly good or bad bosses?

Answered: 1 week ago