Please enable JavaScript to use CodeHS

Chapter 7

Extending Data Structures

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

  1. Incorrect Correct No Answer was selected Invalid Answer

Exercise: Swapping


Do you have feedback on this lesson? Let us know here
Rate this lesson:

Feedback on this lesson:

Issue found (optional):