Question: Create these two variables using python in ONE LINE: Using this INFORMATION: water_temps = [ [Location,JAN,FEB,MAR,APR,MAY,JUN,JUL,AUG,SEP,OCT, NOV,DEC], [Chesapeake Bay VA,46,42,44,65,72,78,81,81,79,71,56,49], [Kiptopeke VA,36,39,46,65,72,78,81,81,79,71,54,44], [Lewisetta VA,39,40,48,65,72,78,81,81,79,71,53,44], [Money

Create these two variables using python in ONE LINE:

Create these two variables using python in ONE LINE: Using this INFORMATION:

Using this INFORMATION:

water_temps = [ ["Location","JAN","FEB","MAR","APR","MAY","JUN","JUL","AUG","SEP","OCT", "NOV","DEC"], ["Chesapeake Bay VA",46,42,44,65,72,78,81,81,79,71,56,49], ["Kiptopeke VA",36,39,46,65,72,78,81,81,79,71,54,44], ["Lewisetta VA",39,40,48,65,72,78,81,81,79,71,53,44], ["Money Point VA",49,49,55,65,72,78,81,81,79,71,60,54], ["Virginia Beach VA",55,53,48,65,72,78,81,81,79,71,60,60], ["Yorktown VA",42,42,49,65,72,78,81,81,79,71,56,47], ["Cape Hatteras NC",49,46,52,65,72,78,81,81,79,71,58,55], ["Duck NC",45,44,46,65,72,78,81,81,79,71,59,52], ["Wilmington NC",58,58,62,65,72,78,81,81,79,71,69,62], ["Myrtle Beach SC",48,50,55,65,72,78,81,81,79,71,61,53], ["Charleston SC",50,50,57,65,72,78,81,81,79,71,63,54], ["Daytona Beach FL",61,59,65,65,72,78,81,81,79,71,71,65], ["Savannah Beach GA",51,52,59,65,72,78,81,81,79,71,64,54], ["Fernandina Beach FL",55,55,62,65,72,78,81,81,79,71,66,58], ["Mayport FL",58,58,62,65,72,78,81,81,79,71,69,62], ["St Augustine Beach FL",57,56,61,65,72,78,81,81,79,71,67,60], ["Miami Beach FL",71,73,75,65,72,78,81,81,79,71,76,73], ["Stuart Beach FL",67,66,70,65,72,78,81,81,79,71,75,70], ["Virginia Key FL",71,72,74,65,72,78,81,81,79,71,76,73] ]

avg_month_temps -a dictionary mapping months to the average temperature for that month across all locations. Should look something like: 'APR': 65 AUG':81, DEC' 57.31578947368421, FEB': 52.8421852631579, JAN': 53.85263157894737, JUL': 81, JUN':78, MAR':57.36842105263158, MAY': 72, NOV': 63.8421852631579, OCT': 71, SEP': 79 warmest_month- use avg month_temps and the max function to assign to this variable the name of the month with the warmest average temperature. avg_month_temps -a dictionary mapping months to the average temperature for that month across all locations. Should look something like: 'APR': 65 AUG':81, DEC' 57.31578947368421, FEB': 52.8421852631579, JAN': 53.85263157894737, JUL': 81, JUN':78, MAR':57.36842105263158, MAY': 72, NOV': 63.8421852631579, OCT': 71, SEP': 79 warmest_month- use avg month_temps and the max function to assign to this variable the name of the month with the warmest average temperature

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!