IndexError: list index out of range

The python error IndexError: list index out of range occurs when an incorrect indices is used to access a list element. The index value should not be out of range.…

TypeError: unhashable type: ‘list’

The TypeError: unhashable type: ‘list’ error occurs when you try to add a list as a key in a dictionary or as an item in a python Set. A hashable…

TypeError: ‘module’ object is not callable

The TypeError: ‘module’ object is not callable error occurs when python is confused between the class object and module. Python attempts to invoke a module as an instance of a…

ImportError: cannot import name

The python ImportError: cannot import name error occurs when the import class is inaccessible or the imported class in circular dependence. The import keyword is used to load class and…

ValueError: incomplete format

The error ValueError: incomplete format occurs in the string that contains a percentage symbol (“%”) without any following format specifier characters.The string format specifyer is used to dynamically replace the…

IndexError: string index out of range

The python error IndexError: string index out of range occurs if a character is not available at the string index. The string index value is out of range of the…

ZeroDivisionError: division by zero

ZeroDivisionError occurs when a number is divided by a zero. In Mathematics, when a number is divided by a zero, the result is an infinite number. It is impossible to…

OverflowError: math range error in Python

In mathematical calculation, if the value reaches the allowed data type limit in the python, the exception “OverflowError: math range error” is thrown away. We’ll see the specifics of this…

ModuleNotFoundError: No module named

Common functions in Python are grouped under modules. If the module is not found in python, the error “ModuleNotFoundError: No module named ‘Decimal'” error will be thrown. In this post,…