Solid Principles, Python.
employee class that stores a name and salary. We create a method that prints the name and year salary. Finally, I create an employee and call the method print_year_salary. The system should also support interns. In our system, interns are employees without salaries. Since the intern has no salary