Python - Custom Exceptions
Which of the following is the correct way to define a custom exception named
MyError in Python?MyError in Python?Exception or its subclasses.MyError as a subclass of Exception with pass to keep it simple.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions