Apply the SOLID Design Principles to Python Code