Question: I am currently using Python IDEL 3.7 and I'm having trouble with writing this rainfall calculator. Write a program uses nested loops to collect data
I am currently using Python IDEL 3.7 and I'm having trouble with writing this rainfall calculator. Write a program uses nested loops to collect data and calculate the average rainfall over a period of years. The program should first asks for the number of years. The outer loop will iterate once for each year. The inner loop will iterate twelve times, once for each month. Each iteration of the inner loop will ask the user for the inches of rainfall for that month. After all iterations, the program should display the number of month, the total inches of rainfall, and the average rainfall per month for the entire period.( include a flowchart)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
