Module 10 of 14

Conversions Between Lists, Tuples & Dictionaries

Convert freely between lists, tuples and dictionaries using tuple(), list(), dict(), zip(), keys(), values() and items().

Lesson recording

Your progress

Opening a slide marks it as viewed. Progress is saved in this browser.

Completed0%
Slides opened
0
Total slides
0
Est. time
—

What you will learn

Choose a topic to jump to its slide.

Words to know
Slide Player

Conversions: Lists, Tuples & Dicts, Step by Step

Read the "In plain English" box first, then look at the code and what it shows on screen. The code is a real Python editor: change anything and press Run. Reset puts the original code back. Keys: ← → change slide, Space play/pause, R run again.

Conversions: Lists, Tuples & Dicts python-core-language/conversions-between-lists-tuples-and-dictionaries