Python

Python dictionary operations you should know

Photo by Alina Grubnyak on Unsplash

The dictionary/dict is one of the basic data structures in Python. It is truly at the core of Python and is used everywhere. Furthermore, it is the corresponding object for JavaScript’s objects and in turn JSON. Here I will list several useful operations and methods related to it.

Initialization

--

--

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
Jacob Ferus

Jacob Ferus

Looking outside the box and making sense of the world using data.