Skip to content
KnowledgeCity

Python: Dictionary

How to manipulate a dictionary in Python.
Preview the first lesson free — get full access to all 7 lessons.
Course: On-Demand
Intermediate Provider Jeremy Kurtz  7 Lessons ·  37m  in Arabic, German, English, Spanish, French, Portuguese, Chinese 

Course Description

Dictionaries in Python are name and valued pairs of variables. They are similar to lists, but with two-part variables. In this module, instructor Jeremy Kurtz uses movie and director pairs to create an example dictionary, teaching viewers all the steps along the way. From there, you’ll learn about several ways to manipulate a dictionary in Python. By the end of this module, you’ll be able to apply multiple elements to a single variable using dictionaries. You’ll also learn how to combine outputs using applicable, real-life examples.

What You'll Learn

  • Define what a dictionary is in Python and understand how and what dictionaries are used for
  • Create an example dictionary using name and value pairs, such as movie and director pairs
  • Manipulate a dictionary in Python across multiple methods and techniques
  • Apply multiple elements to a single variable using dictionaries
  • Combine outputs using applicable, real-life examples
  • Recognize why some methods are more practical for creating a dictionary and the order of operations in programming

Key Takeaways

  • Dictionaries in Python are name and value pairs of variables, similar to lists but with two-part variables.
  • Instructor Jeremy Kurtz uses movie and director pairs to build an example dictionary while explaining each step.
  • There are several ways to manipulate a dictionary in Python, and some methods are more practical than others for creating one.
  • Dictionaries allow multiple elements to be applied to a single variable.
  • The module covers combining outputs using applicable, real-life examples.

Frequently Asked Questions

What will I learn in this Python: Dictionary module?

You will learn how and what dictionaries are used for in Python, why some methods are more practical for creating a dictionary, and the order of operations in programming. You will also be able to apply multiple elements to a single variable using dictionaries and combine outputs using real-life examples.

What is a Python dictionary according to this course?

Dictionaries in Python are name and value pairs of variables. They are similar to lists, but with two-part variables.

Who teaches this module and how is the example built?

Instructor Jeremy Kurtz teaches the module and uses movie and director pairs to create an example dictionary, walking viewers through all the steps along the way.

What lessons are included in this module?

The module includes What is a Dictionary?, The Finessed Dictionary, Manipulating a Dictionary Parts 1 through 4, and Combining Output.