Professional Documents
Culture Documents
Lab 6 - Lite
Lab 6 - Lite
Lab 6 - Lite
Lab 6:
Instructions:
Best of luck.
Task 1:
Initialize each attribute using constructor method. Each attribute should be private.
Task 2:
for this class implement following methods:
Print #to display all information of each attribute
Basic_pay #hourly rate * hours worked)
Tax # total applicable taxes on emplyee
Gross_pay #basic pay plus any allowance/deducitons/taxes?
Task 3:
Make a new file “helper_functions” and move all behaviours of employee in this file and store it in same
location where your .py/.ipynb file is stored
Task 4: load the given dataset and try to run each function you created for Employee class for this
dataset.