Question: Python Pip 8 . Wally's Widget World has seen an explosion in growth after a well - known influencer, showed off a widget as part

Python Pip8.
Wally's Widget World has seen an explosion in growth after a well-known influencer, showed off a widget as part of a 15-second dance that went viral. Wally has hired a bunch of new sales people and wants to keep track of their sales.
Create a class that maintains data for a single sales person, with attributes for the salesperson ID (example: 3763ST), the salesperson's full name, the quantity of widgets that individual has sold, and the total revenue generated. Encapsulate those attributes, giving "read" (get) access to everything, as well as "write" (set) access to the ID number and name. The quantity attribute should have a method to add to the persons total, and that method should also update the total revenue (quantity sold times $9.99).

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!