subject

Write a program that: create a list (you an create it in code you do not have to use input() statements) that represents the total rainfall for each of 12 months (assume that element 0 is January and element 11 is December).
The list is: 15.5, 12, 9.9, 4.67, 3.75, 0.6, 0, 0.32, 1.2, 2.9, 8.6, 12.7
the program should calculate and display the:
total rainfall for the year;
the average monthly rainfall;
the months with the highest amount.
the months with the lowest amount.
You need to figure out how to access each element in the list,
You need to add the all up to find the total;
You need to also divide by the length of your list to get the average;
Use the min() and the max() functions to find the highest and lowest amounts.
There is a video that talks about the min and max functions.
Print out statements showing the 4 required outputs
(replace the ?? with amounts that are calculate by your code or months as appropriate)

The total rainfall for the year: ?? inches
The average rainfall per month is: ?? inches
The month with the lowest rainfall is ?? with ?? inches
The month with the most rainfall is ?? with ?? inches

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 23:00
In a file-oriented information system, a work file stores relatively permanent data about an entity is created and saved for backup and recovery purposes stores records that contain day-to-day business and operational data is a temporary file created by an information system for a single task
Answers: 1
question
Computers and Technology, 22.06.2019 10:40
Nims is applicable to all stakeholders with incident related responsibilities. true or false
Answers: 1
question
Computers and Technology, 23.06.2019 14:00
Technician a says that with self-adjusting clutch systems, the release bearing constantly rotates. technician b says that the ball bearing portion of the release bearing should be lubricated with high-temperature grease during routine maintenance. which technician is correct?
Answers: 2
question
Computers and Technology, 23.06.2019 15:00
Visually impaired individuals generally rely on the for navigation. thus, designers need to ensure that mouse-specific inputs, such as pointing, clicking, and hovering, can be done without a mouse.
Answers: 1
You know the right answer?
Write a program that: create a list (you an create it in code you do not have to use input() statem...
Questions
question
History, 12.08.2020 07:01
question
Mathematics, 12.08.2020 07:01
question
Chemistry, 12.08.2020 07:01
question
English, 12.08.2020 07:01
question
Medicine, 12.08.2020 07:01
question
English, 12.08.2020 07:01
Questions on the website: 13722367