from classes import Employee import datetime emp3 = Employee('Sarah', '*****@*****.**', 'backend', 48000) Employee.set_period_bonus(6000) print(emp3.impinfo()) emp3.increase_pay() print(emp3.pay) date = datetime.date(2021, 3, 20) Employee.is_working_day(date)
from classes import Employee emp2 = Employee("Hasan","*****@*****.**","FrontEnd",40000) print(emp2.impinfo()) emp2.increase_pay() print(emp2.pay) print(emp2.__dict__)