Search
Contents
8.
Lists Keep Things in Order
8.
Lists Keep Things in Order
ΒΆ
8.1. List Basics
8.1.1. Create a New List
8.1.2. Accessing Elements
8.1.3. Check Your Understanding
8.2. Lists Are Like Strings
8.2.1. List Length
8.2.2. Combining Lists
8.2.3.
in
and
not
in
8.2.4. List Slices
8.2.4.1. Try It!
8.2.5. Check Your Understanding
8.3. Working with Lists
8.3.1. Changing One Element
8.3.2. Removing Elements (Part 1)
8.3.3. The Slice Operator
8.3.3.1. Inserting New Elements
8.3.3.2. Replacing Elements
8.3.3.3. Removing Elements (Part 2)
8.3.4. Try It!
8.3.5. Check Your Understanding
8.4. List Methods
8.4.1. Common List Methods
8.4.2. Check Your Understanding
8.5. Iterating Through Lists
8.5.1. Loop by Element
8.5.2. Loop by Index
8.5.3. Which Syntax Should We Use?
8.5.3.1. Take Home Ideas
8.5.4. Try It!
8.6. Common List Tasks
8.6.1. Switching Two Elements
8.6.2. Accumulating List Elements
8.6.2.1. Multiple List Options
8.6.2.2. Try It!
8.6.3. Finding Max and Min
8.6.4. Check Your Understanding
8.7. Cloning Lists
8.7.1. Creating an Independent Copy
8.7.2. Check Your Understanding
8.8.
split
and
join
8.8.1. Use
split
and
join
8.8.2. List Type Conversion
8.8.3. Check Your Understanding
8.9. Lists Within Lists
8.9.1. Two Dimensional Lists
8.9.2. Applying Methods to Nested Lists
8.9.2.1. Try It!
8.9.3. Beyond Two Dimensional lists
8.9.4. Check Your Understanding
8.10. Exercises: Lists
8.10.1. Part One: Adding and Removing Items
8.10.2. Part Two: Slices & Methods
8.10.3. Part Three: Split, List, and Join
8.10.4. Part Four: Multi-dimensional Lists
8.11. Project: Lists
←
7.12.
Project: Strings
8.1.
List Basics
→