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

Month Low High
January 26 37
February 27 41
March 32 49
April 36 57
May 42 65
June 47 72
July 50 83
August 50 84
September 44 74
October 30 60
November 31 44
December 24 35

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!