8. Lists Keep Things in OrderΒΆ

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