Image

Real Python: Quiz: SOLID Design Principles: Improve Object-Oriented Code in Python

In this quiz, you’ll test your understanding of theSOLID Design Principles: Improve Object-Oriented Code in Pythontutorial.

You will reason about behavior contracts, attribute invariants, and choosing composition or separate types over inheritance. For a refresher, you can watch theDesign and Guidance: Object-Oriented Programming in Pythoncourse.


[ Improve Your Python With 🐍 Python Tricks 💌 – Get a short & sweet Python Trick delivered to your inbox every couple of days.>> Click here to learn more and see examples]

https://realpython.com/quizzes/solid-principles-python/