December 2015
Intermediate to advanced
400 pages
13h 3m
English
It is not uncommon to place instances of the Array type inside of a dictionary. Create a dictionary that represents a state. Your dictionary’s keys will refer to counties (to keep it short, only include three counties). Each key should map onto an array that holds five of the zip codes within that county. (You can make up the county names and zip codes.)
Finally, log only the dictionary’s zip codes. Your result should look something like this:
Georgia has the following zip codes: [30306, 30307, 30308, 30309, 30310,
30311, 30312, 30313, 30314, 30315,
30301, 30302, 30303, 30304, 30305]
Read now
Unlock full access