Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Must be done in Python coding language. please No syntax errors. Thank you!! Project 14-3: Customer Viewer Create an object-oriented program that reads a list

Must be done in Python coding language. please No syntax errors. Thank you!! image text in transcribed
Project 14-3: Customer Viewer Create an object-oriented program that reads a list of Customer objects from a CSV file and allows the user to enter the data for a customer by specifying the customer's ID. Console Customer Viewer Enter customer ID: 103 Art Venere 8 W Cerritos Ave 154 Bridgeport, NJ 08014 Continue? (y):y Enter cuatomex ID: 104 Lenna Paprocki Feltz Printing 639 Main St Anchorage, NK 99501 Continue? (y):y Enter customer ID: 99 No customer with that ID. Continue? (y):n Bye! Specifications - Your instructor hhould provide a CSV file named customers.csv that contains customer data. - Use a Customer class to store the customer data. This class should include these attributes: id, firstName, lastName, company, address, city, state, zip. - In addition, this class should include a property or method that returns the full address. This address should have three lines if the company attribute is empty or four lines if the company attribute is not empty. - Create a function that reads the customer data from a CSV file and creates Customer objects from it. - To find the customer with the specified ID, you need to loop through each Customer object in the list of Customer objects and check whether the specified ID matches the ID stored in the Customer object. - If the specified ID isn't found, display an appropriate message

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Database Design Query Formulation And Administration Using Oracle And PostgreSQL

Authors: Michael Mannino

8th Edition

1948426951, 978-1948426954

More Books

Students also viewed these Databases questions

Question

What is Change Control and how does it operate?

Answered: 1 week ago

Question

How do Data Requirements relate to Functional Requirements?

Answered: 1 week ago