Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please let me know if your have any questions. Hello, I need help creating a program and running it. I will need this to run

Please let me know if your have any questions.

Hello, I need help creating a program and running it. I will need this to run in Python.

I chose to write a program that allows the user to pick a school by different zip codes. I will list 3 different zip codes to chose from selection 1,2 or 3. I will need a welcome function, main function and another function if needed. I will ask user to input 1,2 or 3 from the difference zip codes that would want to go to school. I will also need a while loop, this can ask the user to enter again if they don't select 1 2 or 3. Validate the input. If the user enter a invalid zip. Ask the user to enter another input. I will have 3 zip code and 2-3 schools per zip code. After the user input 1, 2 or 3 the program should return to user the list of schools in that zip code. After the user get their answer, ask the user if they would like to run program again? yes or no:

If the user says yes, run the program again.

If the user says no print "Thanks for choosing your school, apply and be great!"

some of Sample and list of school by zip code

Welcome! This program will allow you to pick a school from different zip codes.

Please select a number for zip code you would like to go to school:

Select 1 for zip code 31904

Select 2 for zip code 36867

Select 3 for zip code 36832 or 40 miles

Want to run program again? Yes or no:

#if user selects no print "Thanks for choosing your school, apply and be great!"

List of schools by zip code

Zip code 31904

Columbus Technical College

Columbus State University

Zip Code 36867

Chattahoochee Valley Community College

Troy University

Zip Code 36832 for 40 miles

Auburn University

Tuskegee University

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Financial Accounting

Authors: J. David Spiceland, Wayne Thomas, Don Herrmann

3rd edition

9780077506902, 78025540, 77506901, 978-0078025549

Students also viewed these Programming questions