Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started