© 2026 Hashnode
Last week I worked through OOP. This week I focused on some of the everyday tools that make Python development smoother: modules, dates, math, JSON, pip, error handling, user input, virtual environments, and file operations. These are the building bl...

1. INTRODUCTION Functions are used when we want to group a block of code and reuse it multiple times. Instead of writing the same code again and again, we can just create a function and call it whenever needed. 👉 Example from real life: If you use a...

Hey folks! Today, we’re diving into Functions and Recursion—two powerful concepts that will level up your Python skills. But before we get started, let’s set the right expectations. Some examples might look a bit tricky at first, but trust me, they’r...

Python has become one of the most popular programming languages in the world, thanks to its simplicity, readability, and versatility. Whether you're diving into programming for the first time or transitioning from another language, understanding Pyth...

In this project, say I worked for a client who wanted to create a model to predict apartment prices in Buenos Aires, focusing on properties under $500,000 USD. To streamline the data importing and cleaning process, I wrote a custom function to ensure...
