© 2026 Hashnode
As a computer science student, I’ve tried learning programming from multiple platforms—YouTube tutorials, PDFs, and traditional courses. While they helped to an extent, I often found myself watching more than doing. Recently, I started learning Pytho...

Strings are one of the most fundamental data types in Python. Whether you're printing a message, processing user input, or working with file paths — you're dealing with strings. In this blog, we’ll explore everything from string slicing and built-in ...

Python’s number system isn’t just about int and float. In fact, numbers in Python include a rich collection of types such as decimals, fractions, complex numbers, and even booleans and sets. Let’s explore how Python treats and manipulates these data ...

The Factory Method pattern is a creational design pattern that provides an interface for creating objects in a super class but allows subclasses to alter the type of objects that will be created. It promotes loose coupling and flexibility in object c...
