Textbook section
Week 5: Tuples and Lists
Read the chapters for Week 5 as clean web pages with navigation, code blocks, and section links.
Ch. 21: TuplesChapter 21: TuplesA tuple is an ordered, immutable sequence of values. "Ordered" means
Ch. 22: Lists — Introduction and OperationsChapter 22: Lists — Introduction and OperationsA list is an ordered, mutable sequence of values. Like a tuple,
Ch. 23: List Methods and MutationChapter 23: List Methods and MutationA mutation is a change made to an object's contents without creating
Ch. 24: Aliasing, Mutation, and CloningChapter 24: Aliasing, Mutation, and CloningIn Week 1 (Chapter 2), you learned that a variable is a name that refers
Ch. 25: Lists and Functions, Nested ListsChapter 25: Lists and Functions, Nested ListsYou now have all the pieces: functions (Week 3), recursion (Week 4), and