Write, test, and document a Python program, in a file called sfa.py, to solve the following problem: Given the number of days (N), compute and display, with appropriate labels, the following:
- The highest snowfall amount and the day number which had the highest snowfall. Assume all unique snowfall amounts.
- The range of snowfall amounts (difference between the highest and lowest).
- The lowest snowfall amount and the day number which had the lowest snowfall. Assume all unique snowfall amounts.
- The average snowfall amount over the N days.
For example, if the input is as follows:
1540 25 05 1810
The input prompts, input, and output from the program would be as follows (input shown in blue):
Please analyze for snowfall: 7
Enter the amount of snowfall for day 1: 540
Enter the amount of snowfall for day 2: 25
Enter the amount of snowfall for day 3: 5
Enter the amount of snowfall for day 4: 1810
Enter the amount of snowfall for day 5: 1115
Enter the amount of snowfall for day 6: 10
The range of snowfall for 7 days is 1530.