Python Land
Published in

Python Land

Things You Didn’t Know About Python Dictionaries

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

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.

--

--

Python articles for all types of programmers, from beginner to expert, from DevOps to Data Scientists

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store