Vidyalelo
Python · Q10

Exception Handling in Python

Programming · Python · question 10

Q10

Which of the following statements is true regarding the order of except clauses?

A.
The except clauses should be ordered from more specific exceptions to more general ones
Answer
B.
The order does not matter
C.
The most general exception should come first
D.
The most specific exception should come first

Answer: Option A

Solution

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