Feb-05-2019, 06:54 AM
(Feb-05-2019, 01:52 AM)stullis Wrote: A class would be your best option. The class - let's call it Worker - would need a couple attributes to store the number of sales and the cost. With a method named Worker.take_order(), you could increment those values based on the order that's been placed.
I know I should be doing my own research on what you have said but do you mind elaborating on its use if you were to use the class on the code above.
Thanks