Examveda

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

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