Video description
Python Dictionaries CourseLearn how to use Python dictionaries to store and retrieve data
Although dictionaries look complex with different ways to represent, retrieve, and store data, they can be straightforward to use. In this course I'll show you how to create, store, retrieve, and loop over dictionaries. Once you go through these different actions, you should be able to choose the right approach to work effectively with dictionaries.
If you are already familiar with Python lists and you are ready to take the next step with dictionaries, then this course is for you.
Learning ObjectivesThis course is divided into two sections: creating and adding data, and looping and retrieving data. You will learn the following topics:
- Several different ways to create a Python dictionary
- Adding data to dictionaries, new keys, and new values
- Three different ways to loop over dictionaries, using keys, values, and both items
- Two different ways to retrieve data from dictionaries, preventing errors along the way
Useful Resources
Table of Contents
Lesson 1
“Introduction”
Lesson 2
“Creating Dictionaries”
“Adding Data”
Lesson 3
“Looping Over Dictionaries”
“Extracting Data”
Lesson 4
“Conclusion”