Maps

Creating maps

Setting and getting elements

Removing elements

Checking elements

Iterating over map


Exercises

  1. What is a map?
  2. Create a map, with the names of your local high schools as keys, and street address as values.
  3. How do you know if a school is in your map?
  4. Iterate over your school map, print school names and addresses.