Question: How do you create the following in pythons? The manager should be able to enter data for each salesperson to be reported create a class
How do you create the following in pythons?
The manager should be able to enter data for each salesperson to be reported
create a class for salespersons:
Salesperson name
Salesperson commission rate
The manager should be able to enter all items sold for each salesperson
create a class for items:
Item name
Item sold date
Item price
Item quantity
Item tax rate
Once salesperson and item data has been collected, the manager should have the option to display or save the data entered to file
Save option will first save the detail data to file and then display the detail data to the console
Display option will display the detail data saved to file
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
