Question: Python :The average monthly low and high temperatures in Pullman are given below in degrees Fahrenheit Month Low High January 26 37 February 27 41
Python :The average monthly low and high temperatures in Pullman are given below in degrees Fahrenheit
|
For this task, create two lists, one with the low temperatures and one with the high temperatures, and then use a for-loop, sorting, slicing, summing, and anything else necessary to answer the following questions:
1. What are the average temperature differences for all the months of the year? Use a for-loop to create a new list that contains these differences. Which month has the largest temperature difference and which one has the smallest temperature difference? 2. What are the annual averages (not monthly) for the low and high temperatures? 3. What are the annual averages for the low and high temperatures if you remove the lowest and highest temperatures from each?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
