Examveda

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

B. To handle the exception

C. To raise an exception

D. To create a function

Answer: Option A


This Question Belongs to Python Program >> Exception Handling In Python

Join The Discussion

Related Questions on Exception Handling in Python