Please enable JavaScript to use CodeHS

{# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #}

Chapter 7

Extending Data Structures

{# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 7.1 2D Lists 2D Lists Accessing 2D Elements Slicing 2D Lists Appending 2D Lists For Loops and 2D Lists Using a Nested Loop Check Your Understanding Exercise: Make a Grid
{# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 7.2 List Comprehensions List Comprehensions A More Efficient Loop More Than Just Iterations Using Modulus Using a Boolean Converting to a String List of Booleans Check Your Understanding Exercise: First Names
{# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 7.3 Packing and Unpacking Packing Packing Variables Mutable or Immutable? Unpacking Variables Errors When Unpacking Unpacking Parameters Check Your Understanding Exercise: Slopes
{# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 7.4 Dictionaries Dictionaries Creating a Dictionary Key/Value Pairs Dictionaries are Mutable Using the in Keyword Using a Try-Except Block For Loops and Dictionaries Keys and Values Check Your Understanding Exercise: Phone Book
{# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 7.5 Equivalence vs. Identity Equivalence vs. Identity Equivalent but NOT Identical Equivalent AND Identical Using the is Keyword Mutable Items and Functions Immutable Items and Functions Identity and Parameters Check Your Understanding Exercise: Swapping
{# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 7.6 Conclusion