Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!