Quiz

Dictionaries


Your Task:

Given access to

you are to write a Python script that produces a new dictionary named state2pop that maps each state abbreviation to the total population of that state (e.g., state2pop['MO'] = 5989128).

Note: Although this should not impact your solution, both of these dictionaries represent zipcodes as strings, so as to consistenly use 5-digit codes (without dropping leading zeros)


Files:


Michael Goldwasser
Last modified: Monday, 26 November 2018