Examveda

How can you create a custom exception class in Python?

A. By inheriting from the Exception class

B. By using the throw keyword

C. By using the custom keyword

D. By creating a new class

Answer: Option A


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

Join The Discussion

Related Questions on Exception Handling in Python