Solid Principles, Python.
Let’s start from the top and implement main. The first thing you notice is that all the dependencies are imported here. A LaserPrinter object is instantiated. And then a Reporting object. And this is the place where the printer needs to be injected. To do so, the reporting class gets a class