Vidyalelo
Python · Q17

Exception Handling in Python

Programming · Python · question 17

Q17

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

A.
To define the block of code that will always be executed, whether an exception is raised or not
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