Scenario:
The city bus passes through three main stops in this order: 'Market'
, 'School'
, 'Hospital'
.
Task:
Write a Python program to manage this route:
Create a list bus_stops
with the three names.
Print all the stops.
Print the first stop on the route.
Add 'Stadium'
to the list of stops.
Print the updated list.
Display the total number of stops.
We’re always looking for international STEM educators to join our team. If you are interested, please send us a mail and we’ll get back to you!
If you have any questions, kindly send us a mail. Don’t forget to follow and like all our social accounts to get updates on competitions!