Solid Principles, Python.
is Employee: print(f"{e.name} is an employee") elif type(e) is Manager: print(f"{e.name} leads department {e.department}") When the print_employee function is moved to a different module, this problem becomes even more visible. because to know every employee type, they need to be imported. And this