Function Overloading in Python

Python natively does not support function overloading – having multiple functions with the same name. Today we see how we can implement and add this functionality to Python by using common language constructs like decorators and dictionaries. Read more

Similar

Exceptions in Python

Python uses special objects called exceptions to manage errors that arise during a program’s runtime. Whenever an error occurs that makes Python unsure what to do next, it creates an exception object. If you write... (more…)

Read more »