Adapter wraps an incompatible interface so it matches the one your code
expects, without touching the original class.
LegacyPrinter.old_print(text) is what you have. Your code expects aModernPrinter-shaped .print_text(text). ImplementLegacyPrinterAdapter to bridge the two.
solve(texts) prints every text through the adapter and returns the results.
Sample tests