Question: 13. In a new cell below, Write a Python algorithm that will create a new list containing only the city names and print that list

13. In a new cell below, Write a Python algorithm that will create a new list containing only the city names and print that list using a print statement. Everything you need has been demonstrated to you previously in this lab. Your code shouldn't be more than a couple lines maximum. (/4) 1]: sample_stations =[ "Aberdeen, MD21001, Station Building (with waiting room)" ,"Albuquerque, NM87102, Station Building (with waiting room)" ,"Antioch-Pittsburg, CA94509, Platform with Shelter" ,"Arcadia, M063621, Station Building (with waiting room)" ,"Ardmore, 0K73401, Station Building (with waiting room)" ,"Augusta, ME4330, Curbside Bus Stop only (no shelter)" ,"Ashland, OR97520, Curbside Bus Stop only (no shelter)" ,"Arkville, NY12406, Curbside Bus Stop only (no shelter)" ,"Ashland, KY41101, Platform with Shelter" "Alanson, MI49706, Curbside Bus Stop only (no shelter)" ]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
