Question: The program uses a list that contains valid names for 10 cities in Michigan. You ask the user to enter a city name; your program
The program uses a list that contains valid names for 10 cities in Michigan. You ask the user to enter a city name; your program then searches the list for that city name. If it is not found, the program should print a message that informs the user the city name is not found in the list of valid cities in Michigan. In python!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
