Examveda

What is the purpose of the except clause without specifying an exception type in a try block?

A. To catch any exception that occurs within the try block

B. To catch only specific exceptions

C. To handle syntax errors

D. To define a block

Answer: Option A


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

Join The Discussion

Related Questions on Exception Handling in Python