Write a program to calculate the rainfall for 3 years. You need to output the following: 1. Total rain…

Write a program to calculate the rainfall for 3 years. You need to output the following: 1. Total rain…

Question:

Transcribed Image Text:

Write a program to calculate the rainfall for 3 years. You need to output the following:
1. Total rain fall after each year.
2. Average rain fall for each year
3. Total rain fall for 3 years.
4. Average rain fall for 3 years.
5. The year with the maximum rain fall
6. The year with the minimum rain fall
Activate Windows
Go to Settings to activate N

Expert Answer:

Answer rating: 100% (QA)

I can provide you with a Python program to calculate rainfall for 3 years python Initialize empty lists to store rainfall data for each year year1 rai
View the full answer