Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a python file that prompts a user to type in a college name. If the college is found in the database (.txt file) have
Create a python file that prompts a user to type in a college name. If the college is found in the database (.txt file) have the program respond with both the city and the college name. If it is not found, display an error message that states the college is not found in the database. Please create a database of 10 colleges.
The output should look like this:
Please enter a college and I will return the city. (x to exit, random to get a random College/City)
College: Utah Valley University
The city of Utah Valley University is Orem
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