Why exception handling is required?
Ans.-
Whenever exception is occurs, the program halts the execution ,and thus
the further code is not executed. Therefore, an exception is the error which
python script is unable to tackle with.
Python
provides us with the way to handle the exception so that the other part of the
code can be executed without any disruption. However, if we do not handle the
exception, the interpreter doesn’t executed all the code that exist after the
that.