HKHruthik ksinhruthik.hashnode.dev·Feb 22, 2024 · 4 min readDecorators In PythonWhat are Decorators? Decorators are a way to modify or extend the behavior of functions or methods in Python. They allow you to add functionality to existing functions or methods without changing their source code. This is achieved by wrapping the or...00
HKHruthik ksinhruthik.hashnode.dev·Feb 22, 2024 · 5 min readObject-Oriented Programming (OOP) in PythonPython is a versatile programming language that supports various programming styles, including object-oriented programming (OOP) through the use of objects and classes. An object is any entity that has attributes and behaviors. For example, a person ...00
HKHruthik ksinhruthik.hashnode.dev·Feb 22, 2024 · 3 min readScopes and Closures in PythonIn Python, scopes and closures are fundamental concepts that play a crucial role in how variables are accessed and managed within functions. Let's delve into these concepts to understand how they work and how they can be used effectively. Scopes in P...00
HKHruthik ksinhruthik.hashnode.dev·Feb 20, 2024 · 4 min readBehind the Scenes of Loops in PythonHey there! So, Python is a pretty neat programming language, and one of the reasons it's so handy is because it's got tools for looping through data. In this article, we're going to take a look at how Python's loops and other tools work behind the sc...00
HKHruthik ksinhruthik.hashnode.dev·Feb 19, 2024 · 3 min readFunctions in Python: 10 problems solvedFunctions are an essential part of any programming language, and Python is no exception. They allow you to encapsulate a block of code that can be reused and called multiple times. In this article, we'll explore ten different types of functions in Py...00