Solid Principles, Python.
open-closed principle. This is an example where polymorphism cannot help us, and the conclusion is that the intern class should not be inherited from the employee class. An intern object does not have an is-a relationship with an employee object. You just saw that breaking the is-a relationship can