Vidyalelo
Python · Q35

Exception Handling in Python

Programming · Python · question 35

Q35

How can you catch and handle multiple exceptions in a single except block in Python?

A.
By enclosing the exceptions in parentheses and separating them with commas
Answer
B.
By using the multiple keyword
C.
By using separate except blocks
D.
By using the all keyword

Answer: Option A

Solution

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