Please enable JavaScript to use CodeHS

AP Computer Science Principles in Python

Extending Data Structures

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

Lessons

35.1 2d Lists

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

35.2 List Comprehensions

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

35.3 Packing and Unpacking

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

35.4 Dictionaries

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

35.5 Equivalence vs. Identity

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

35.6 Extending Data Structures Quiz

  • Extending Data Structures Quiz
  • Data Structures Badge

Courses that include this module