Overloading refers to the ability of an operator to behave in different ways depending on the parameters that are passed to the function, or the operands that the operator acts on.
Operator overloading using magic methods:-
Changing the functionality of the operator depending on what operands are given is called operator overloading.
print(1 + 2) print("Python"+"point") print(3 * 4) print("Python"*4)
Output- 3 pythonpoint 12 pythonpythonpythonpython
This is all about overloading in python.