Categories
Python

The Unique Elegant Way To Use Operator Overloading in Python

Each operator can be used in different way for different types of operands. for example when + is used with integers, it add integers to give result and when + is used with string, it concatenates the provided strings.

Categories
Python

What Is A List In Python And How To Use Them

Lists are great for storing collection of related objects. Let’s understand dynamic, mutable and heterogenous nature of Python lists.

Categories
Python

How To Sort A List In Python Effortlessly

Python has inbuilt function sorted(), which can be use to sort any iterable. In this article we will explore from basics to advance features of sorted() function.