Module 2: Lesson 2


Python Data Structures

This lesson introduces basic Python data structures such as the list, dictionary, string, and tuple.

Objectives

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

  • create these different compound data structures,
  • access data from these data structures,
  • iterate through these data structures, and
  • use special functions that operate on these data structures.

Time Estimate

Approximately 2 hours.

Activities

Video: Watch the Python data structures video, which will discuss the powerful data structures that come built-in to the Python programming language.

Notebook: Read and complete the practice exercises in the Python data structures notebook.


© 2017: Robert J. Brunner at the University of Illinois.

This notebook is released under the Creative Commons license CC BY-NC-SA 4.0. Any reproduction, adaptation, distribution, dissemination or making available of this notebook for commercial use is not allowed unless authorized in writing by the copyright holder.