Solid Principles, Python.
instantiation is happening here. There is no dependency on a concrete class. We can now pass the printer object to the reporting class. Finally, print_receipt is called on the reporting object. We have now solved the dependency inversion. And this is the point where we start to benefit when the