Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

Write a python module that contains a set of classes that handles the following situation: we have a group of people that we organize according to their relationships to the company.Employee: Employe

Write a python module that contains a set of classes that handles the following situation: we have a group of people that we organize according to their relationships to the company.

Employee:  Employees have names, titles, departments, bosses, salaries and start dates.

Customer: Customers have names, business names, responsible employees (oversee the account), account numbers and account sizes.

BusinessPartner:  BusinessPartners have a names, business names, responsible employees, and business types (a string describing what the business does).  

Any common information should be in a superclass.

In the same module write a short function that would take an input file containing a list of people and "sort" them into separate lists based on their "class."  The function should return a list of people where each person has a type.

Employee, Inigo Montoya, Henchman, Enforcement, The Sicilian, 0, 9/25/1987

Employee, Rick Deckard, Blade Runner, Rep-Detect, Harry Bryant, 0, 6/25/1982

Customer, The Dude, None, Inigo Montoya, 23145,10000

Business Partner, Tyler Durden, Project Mayhem, Rick Deckard, Club

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question