Please enable JavaScript to use CodeHS

Indiana Topics in Computer Science

Python Data Structures

Students learn how tuples, lists, 2D lists, and dictionaries are formed and the various methods that can alter them.

Lessons

6.1 Tuples

  • Tuples
  • Tuples
  • A Tuple Is a Sequence
  • A Tuple is Heterogeneous
  • Tuples With a Single Element
  • +5 more

6.2 Lists

  • Lists
  • Lists
  • A List Is Like a Mutable Tuple
  • String <--> List
  • Spell It Out
  • +3 more

6.3 For Loops and Lists

  • For Loops and Lists
  • For Loops and Lists
  • For Loops and Lists
  • For Loops and Lists, Part 2
  • Max In List
  • +4 more

6.4 List Methods

  • List Methods
  • List Methods
  • append and extend
  • How Many Names?
  • Five Numbers
  • +8 more

6.5 2d Lists

  • 2d Lists
  • 2d Lists
  • A List of Lists
  • Grid
  • 2d Lists and Slices
  • +4 more

6.6 Dictionaries

  • Dictionaries
  • Dictionaries
  • Keys and Values
  • The in Keyword
  • Phone Book
  • +1 more

6.7 Python Data Structures Quiz

  • Python Data Structures Quiz

Courses that include this module