Solid Principles, Python.
employee can be promoted by calling the promote method. Class intern inherits from employee, but an intern cannot be promoted. The promotion effort is overridden and raises NotImplementedError. The promote_employee function takes an employee and calls promote on it. The same problem as in the