- Write a program in python for the Average Rainfall? [closed]
- # Initialize the accumulator.
- total = 0
- # Get the amount of years.
- years = int(input('Enter the amount of years: '))
- # Get the inches of rainfall for each month.
- for month in range(1, 13):
- print('Enter the inches of rainfall on month', month)