In this recipe, we advanced our procedural code into OOP code. Python enables us to write code in both a practical and a procedural style such as the C-programming language. At the same time, we have the option to code in an OOP style, such as Java, C#, and C++.