AAbinashBapuincore-python.hashnode.dev·12h ago · 58 min readChapter 14: Exception HandlingException Handling Exception handling gives a Python program the ability to deal with problems that occur while the program is running. A program without exception handling may work perfectly under no00
AAbinashBapuincore-python.hashnode.dev·1d ago · 64 min readChapter 13: Lambda ExpressionPython gives us more than one way to create function objects. The most common way is with def, but Python also provides lambda expressions, which create small anonymous functions. Understanding lambda00
AAbinashBapuincore-python.hashnode.dev·2d ago · 51 min readChapter 12: DecoratorsPython Foundations for Understanding Decorators Before learning Python decorators, it is important to understand a few concepts about functions. Decorators rely heavily on three ideas: Functions are 00
AAbinashBapuincore-python.hashnode.dev·3d ago · 35 min readChapter 11: Inheritance & PolymorphismWhat is inheritance? Inheritance is an important feature of object-oriented programming (OOP). It allows us to create a new class using an existing class. The new class automatically receives the vari02J
AAbinashBapuincore-python.hashnode.dev·3d ago · 5 min readChapter 10: Magic MethodsMagic Methods in Python Magic methods are special methods that let objects of your own classes behave like Python’s built-in objects. For example, Python already knows how to add integers: print(4 + 500