Solid Principles, Python.
return f"{self.name} leads department {self.department}" def print_employee(e): print(e.get_info()) This is how the code looks like. get_info in the employee class returns the employee name. get_info in the manager class returns the name plus department. The print_employee function does not have to