# Dictionaries: Looking Things Up by Name

A dictionary stores each value under a key you choose, so a program finds a value by its name instead of its position, and adds, changes and removes entries as the data changes.

![Cheat sheet: Dictionaries: Looking Things Up by Name](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/6a60883435f54a06b34aee2a07e49a44.webp)

- Category: Python
- Level: Novice
- Tags: Dictionary (python), KeyError, Key-Value Pair (python), Membership Operator (in), python
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/python-dictionaries-cheat-sheet
