Lesson 9: Modifying Lists
We can add and remove things from our lists dynamically.
Append and Pop
append() adds to the end. pop() removes the last one.
numbers = [1, 2]
numbers.append(3)
# Now it is [1, 2, 3]Your Objective
Add a fruit to the list.