Vidyalelo
Python · Q13

Exception Handling in Python

Programming · Python · question 13

Q13

What is the purpose of the except clause in a try block?

A.
To define the block of code that will be executed if an exception is raised
Answer
B.
To handle the exception
C.
To raise an exception
D.
To create a function

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board