Solid Principles, Python.
self.department = department def print_employee(e): print(f"{e.name} is an employee") Here is the code that adds the manager class. Manager inherits from employee and adds an extra attribute to the object: department. We overload the initializer to support the department attribute. class Employee: