Vidyalelo
Python · Q16

Exception Handling in Python

Programming · Python · question 16

Q16

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

A.
To define the block of code that will be executed if no exception is raised
Answer
B.
To raise an exception
C.
To handle the 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