Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shakyra/831bcc5d7199993eb6103c57000c44f4 to your computer and use it in GitHub Desktop.
Save shakyra/831bcc5d7199993eb6103c57000c44f4 to your computer and use it in GitHub Desktop.
Creating a dictionary with counties + zip codes in Ohio
var counties = ["Franklin": [43215, 43213, 43219, 43227, 43228], "Delaware": [43015, 43035, 43003, 43061, 43065], "Pickaway": [43113, 43103, 43116, 43117, 43156]]
for zipCode in counties.values {
print("Ohio has the following zip codes: \(zipCode)")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment