Question 20: List Supplies

1. School Supplies Tracker

Scenario:
A student named David is preparing for the new school term. He has a few items already in his bag: 'notebook', 'pen', and 'eraser'.

Task:
Write a Python program to help David:

  1. Create a list called supplies with the three items.

  2. Print the full list of supplies.

  3. Print the last item in the list.

  4. Add 'ruler' to the list using .append().

  5. Print the updated list.

  6. Use len() to count the total number of items and print it.

Write what you are looking for, and press enter to begin your search!