Question: (Code in PYTHON) Write a program that accepts a zip code as an input and displays information corresponding to that zip code. The output must

(Code in PYTHON) Write a program that accepts a zip code as an input and displays information corresponding to that zip code. The output must include the matching city and state. You must also display the county and one additional fact about that zip code. You can find all kinds of interesting zip code information at this website: https://www.unitedstateszipcodes.org Your program should include at least 7 valid zip codes with corresponding information. You may not use any of the zip codes I provided as samples on this handout. When the user enters a zip code, check to be sure that it has exactly 5 digits and that it is not a value less than 0. If an error occurs, display an informative message and prompt the user for input again. Your output must look attractive. The program must display your name when it runs. Comments and Style Comment on your code. At the top of the program include your name, a brief description of the program and what it does and the due date. All blocks must be indented consistently and correctly. Variable names should convey meaning

Test Cases Identify a minimum of 3 test cases for your program. By test cases I mean sample inputs that test the boundaries of your program logic. For each test case indicate the input value and the predicted output value Your test cases must be different from the ones I provided as examples

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!