Skip to main content

Using Python Dictionaries

Hands-On Lab

 

Photo of Keith Thompson

Keith Thompson

DevOps Training Architect II in Content

Length

00:30:00

Difficulty

Beginner

Dictionaries are one of the fundamental data types that we use in Python to solve real problems. These are handy when we don't need a sequential list of items, and it is more useful to have unique identifiers for looking up values. In this hands-on lab, we'll be working through some exercises demonstrating that we understand how to add, remove, modify, and read items from dictionaries in Python. To feel comfortable completing this lab you'll want to know how to do the following: Working with dictionary literals. Watch the "Dictionaries" video from the [Certified Entry-Level Python Programmer Certification][1] course. Using Dictionary functions and methods. Watch the "Dictionary Methods" video from the [Certified Entry-Level Python Programmer Certification][1] course. [1]: https://linuxacademy.com/cp/modules/view/id/413

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.