Question: Given the daily high temperatures ( in Celsius ) for 3 0 days in a list, calculate and return: The average temperature for the month.
Given the daily high temperatures in Celsius for days in a list, calculate and return:
The average temperature for the month.
The number of days where the temperature was above the monthly average.
The highest and lowest temperatures recorded.
The difference between the highest and lowest temperatures.
These results should be returned in order in a tuple
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
