Please enable JavaScript to use CodeHS

Intro to Computer Science in Python 2 (Rainforest)

Extending Data Structures

Students learn to build more complex programs that make use of grids and dictionaries.

Lessons

9.1 2d Lists

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

9.2 List Comprehensions

  • List Comprehensions
  • List Comprehensions
  • List of Consecutive Numbers
  • List of Squares
  • Divisible by 3
  • +5 more

9.3 Packing and Unpacking

  • Packing and Unpacking
  • Packing and Unpacking
  • Packing
  • Unpacking
  • Unpacking Parameters
  • +5 more

9.4 Dictionaries

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

9.5 Equivalence vs. Identity

  • Equivalence vs. Identity
  • Equivalence vs. Identity
  • Equivalence vs. Identity - Mutables
  • Equivalence vs. Identity - Immutables
  • Identity and Parameters
  • +2 more

9.6 Extending Data Structures Quiz

  • Extending Data Structures Quiz
  • Data Structures Badge

Courses that include this module