Examveda

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

B. By using the multiple keyword

C. By using separate except blocks

D. By using the all keyword

Answer: Option A


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

Join The Discussion

Related Questions on Exception Handling in Python