Things You Didn’t Know About Python Dictionaries

Valid keys, multiple ways to create, default values, view objects

Erik van Baaren
Python Land
Published in
4 min readFeb 15

--

Photo by Joshua Hoehne on Unsplash

The dictionary is one of the language’s most powerful data types. In other programming languages and computer science in general, dictionaries are also known as associative arrays. They allow you to associate one or more keys to values.

--

--