Question: IN one line write create variables: Using this list below: 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],

IN one line write create variables:

IN one line write create variables: Using this list below: water_temps =

Using this list below:

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_location_temps - a dictionary mapping locations from water temps to their average temperature for all months. Should look something like 'Cape Hatteras NC': 65.58333333333333, Charleston SC': 66.75, Chesapeake Bay VA': 63.666666666666664, Daytona Beach FL' 70.66666666666667, Duck NC':64.41666666666667, Fernandina Beach FL': 68.58333333333333, Kiptopeke VA': 62.166666666666664, Lewisetta VA': 62.583333333333336, Mayport FL 69.66666666666667, Miami Beach FL: 74.58333333333333 'Money Point VA': 66.16666666666667, 'Myrtle Beach SC: 66.16666666666667, Savannah Beach GA" 67.25, St Augustine Beach FL' 69, Stuart Beach FL' 72.91666666666667, Virginia Beach VA: 66.91666666666667, Virginia Key FL 74.41666666666667, Wilmington NC" 69.66666666666667, 'Yorktown VA': 63.583333333333336 warmest location use avg_location_temps and the max function to assign to this variable the location with the warmest average temperature. avg_location_temps - a dictionary mapping locations from water temps to their average temperature for all months. Should look something like 'Cape Hatteras NC': 65.58333333333333, Charleston SC': 66.75, Chesapeake Bay VA': 63.666666666666664, Daytona Beach FL' 70.66666666666667, Duck NC':64.41666666666667, Fernandina Beach FL': 68.58333333333333, Kiptopeke VA': 62.166666666666664, Lewisetta VA': 62.583333333333336, Mayport FL 69.66666666666667, Miami Beach FL: 74.58333333333333 'Money Point VA': 66.16666666666667, 'Myrtle Beach SC: 66.16666666666667, Savannah Beach GA" 67.25, St Augustine Beach FL' 69, Stuart Beach FL' 72.91666666666667, Virginia Beach VA: 66.91666666666667, Virginia Key FL 74.41666666666667, Wilmington NC" 69.66666666666667, 'Yorktown VA': 63.583333333333336 warmest location use avg_location_temps and the max function to assign to this variable the location 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!