Video Coming Soon...

Created by Zed A. Shaw Updated 2024-12-10 18:57:40
 

43: Doing Things to Dictionaries

You are now going to learn about the Dictionary data structure in Python. A Dictionary (or "dict") is a way to store data just like a list, but instead of using only numbers to get the data, you can use almost anything. This lets you treat a dict like it's a database for storing and organizing data.

Let's compare what dicts can do to what lists can do. You see, a list lets you do this:

View Source file ex43_pycon_out.py Only

Previous Lesson Next Lesson

Register for Learn Python the Hard Way, 5th Edition (2023-2024)

Register today for the course and get the all currently available videos and lessons, plus all future modules for no extra charge.