Basic Python Data Structures: Dictionaries

Rafay Syed
The Startup
4 min readOct 3, 2019

--

This is probably one of my most favorite data structures. The dictionary is different than a list, tuple and set since it allows the user to assign key-value pairs. If you are coming from a different language, you may have used a hash table which is the same as using a dictionary. What is a dictionary, and what can it do?

--

--

Rafay Syed
The Startup

Software Engineer at Salesforce and Lifelong Student