p
y
c
h
a
l
l
e
n
g
e
r
Home
Python Basics
Dictionaries
Dictionaries
store multiple values
key-value pairs
mutable dictionaries
immutable keys
unique keys
dictionary methods
iterating over keys, values, or both
NEXT
Introduction to Python Dictionaries
LESSON
Exercise: Add missing key-value pair to dictionary
CHALLENGE
Exercise: Fill empty dictionary
CHALLENGE
Exercise: Create dictionary
CHALLENGE
Exercise: Create dictionary with variables
CHALLENGE
Exercise: Create dictionary with function
CHALLENGE
Exercise: Access dictionary value
CHALLENGE
Dictionary length, keyword in, and nested dictionaries
LESSON
Exercise: Access nested dictionary value
CHALLENGE
Exercise: Check if dictionary has key
CHALLENGE
Modifying Python Dictionaries
LESSON
Exercise: Add key-value pair to dictionary
CHALLENGE
Exercise: Update key-value pair in dictionary
CHALLENGE
Exercise: Remove key-value pair from dictionary
CHALLENGE
Object views and iterating over dictionaries
LESSON
Exercise: Count total number of characters of dictionary keys
CHALLENGE
Exercise: Check if value exists in dictionary
CHALLENGE
Exercise: Swap dictionary keys and values
CHALLENGE
Exercise: Filter dictionary by value
CHALLENGE
Test: Python Dictionaries
EXAM