Question: Create the function calculateAvg that has one parameter: states, which is a list of tuples that contain a string representing the two - letter state
Create the function calculateAvg that has one parameter: states, which is a list of tuples that contain a string representing the twoletter state acronym and the yearly average temperature. The function returns the average temperature of all states included in the list. Ignore any formatting to determine a specific number of decimal points do not worry about this For example, calculate AvgNCGASCNY returns Use Python
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
