3.1. Working with Dictionaries

A dictionary is a collection of key & value pairs. Each key is connected to a value, and you can use a key to access the value associated with that key. A key can be a number, string, or whatever you want.