Vidyalelo
Python · Q55

Exception Handling in Python

Programming · Python · question 55

Q55

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
Answer
B.
To catch only specific exceptions
C.
To handle syntax errors
D.
To define a block

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board