Learn Without Walls
← Back to Course Home

Module 8: Dictionaries & Tuples

Master Python's key-value data structures and learn when immutability matters

4 Lessons 15 Practice Problems 12-Question Quiz

Your Progress

Complete the lessons in order, then test yourself with practice problems and the module quiz.

Learning Objectives

By the end of this module, you will be able to:

Lessons

1

Creating and Using Dictionaries

Learn how to create dictionaries with key-value pairs, access values by key, add and update entries, handle KeyError, and use the get() method.

~35 minutes
2

Dictionary Methods

Explore powerful dictionary methods including keys(), values(), items(), update(), pop(), and clear(). Learn to iterate over dictionaries and build nested structures.

~35 minutes
3

Tuples and Immutability

Discover tuples: Python's immutable sequences. Learn how to create them, unpack values, use tuple methods, and understand why immutability is a feature, not a limitation.

~30 minutes
4

Choosing the Right Data Structure

Compare lists, tuples, and dictionaries. Learn when to use each one based on your data, performance needs, and real-world scenarios.

~30 minutes

After the Lessons

Practice Problems

15 hands-on problems to reinforce what you learned

Start Practice

Module Quiz

12 questions to test your understanding

Take Quiz

Study Guide

Review key concepts and prepare for assessments

Study Guide

Quick Reference

Printable cheat sheet for dictionaries and tuples

Quick Ref