Tag: Dictionaries

Python Dictionaries: A Comprehensive Tutorial (with 52 Code Examples)

What Is a Dictionary in Python? A Python dictionary is a data structure that allows us to easily write very efficient code. In many other languages, this data structure is called a hash table because its keys are hashable. We’ll understand in a bit what this means. A Python dictionary is a collection of key:value […]

Read More

Tutorial: Why Functions Modify Lists and Dictionaries in Python

In this beginner Python tutorial, we’ll take a look at mutable and immutable data types, and learn how to keep dictionaries and lists from being modified by our functions.

Read More

Python Dictionary Tutorial: Analyze Craft Beer with Dictionaries

Learn to use Python dictionaries to store, sort, and access data in this in-depth tutorial analyzing craft beer data to master dictionary techniques.

Read More