Question 22: List Buses

Bus Stop Names

Scenario:
The city bus passes through three main stops in this order: 'Market', 'School', 'Hospital'.

Task:
Write a Python program to manage this route:

  1. Create a list bus_stops with the three names.

  2. Print all the stops.

  3. Print the first stop on the route.

  4. Add 'Stadium' to the list of stops.

  5. Print the updated list.

  6. Display the total number of stops.


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