Question: Description: Create a program that asks the user to enter customer records in PYTHON. Console: Customer Records Full name: John Anderson Address: 1000 Market St,

Description: Create a program that asks the user to enter customer records in PYTHON.

Console: Customer Records

Full name: John Anderson Address: 1000 Market St, San Francisco, CA

Continue? (y/n): y

Full name: Mark McKee Address: 200 Tully Rd, San Jose, CA

Continue? (y/n): y

Full name: Amy Bush Address: 1255 Main Pl, Los Angeles, CA

Continue? (y/n): y

Full name: Lauren Wang Address: 1234 Mountain Ct, San Mateo, CA

Continue? (y/n): y

Full name: Jack Patel Address: 5001 Willow Ave, San Martin, CA

Continue? (y/n): n

Full Name Address John Anderson 1000 Market St, San Francisco, CA Mark McKee 200 Tully Rd, San Jose, CA Amy Bush 1255 Main Pl, Los Angeles, CA Lauren Wang 1234 Mountain Ct, San Mateo, CA Jack Patel 5001 Willow Ave, San Martin, CA

Bye!

Specifications:

Write all records to a file named records.txt. In the file, the full name and the address (a record) should be on the same line and separated by a vertical bar ( | ) as follows:

John Anderson | 1000 Market St, San Francisco, CA

Read all records from the file.

Display all records in a tabular form as follows:

Full Name Address 30, Left Justified 50, Left Justified

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!