Lesson 12 Quiz: Lists: Many Items, Plus Indexing and Append

Self-check only. Your answers stay in your browser — nothing is submitted or graded. Pick an answer for each question, then press Check my answers to see the answer key and explanations.

1. What is a list, and what brackets does it use?

2. In `["apple", "banana", "cherry"]`, what is at position 0, and what is at position -1?

3. What does `len()` do to a list?

4. What is the difference between `fruits.append("orange")` and `fruits[1] = "blueberry"`?

5. Why does a loop over a list still work if the list later grows?

← Back to Lesson 12 · Enroll free in the full course