Inactive Tutor answered 06/02/21
Ethan H.
asked 04/30/21Lab 5 Python Lists
include header information in your program and just submit the program.
Create a program that writes to a file.
The program must take user inputs of First Name, Last Name, Street address, City, State and ZipCode.
If the State a user enters is: PA ,NJ, DE, MN, NH use the zipcode list to replace the ZipCode entered when writing to your file.
The state and zipcode lists have five elements that are matched by index location.
The output file should contain five rows of name and address information and be formatted as below. Note the "|" character is the separator between values.
LastName|FirstName|Street Address|City|State|ZipCode
Use the below lists in your program:
1 Expert Answer
Still looking for help? Get the right answer, fast.
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.