How to Use the Code Editor
Select the "Run Code" button to execute the program.
Select the "Calculate Grade" button to generate a score based on the completed tasks.
Continue to modify, run, and calculate your code until you are happy with the grade.
Select the "Submit" button to turn in the assignment to your instructor.
As a developer, you may need to create exception classes that handle custom exceptions that are not defined in the standard library in a certain way. In this challenge, we will practice creating custom exception classes.
The steps are as follows:
Subclass the Exception class and create a new Exception class of your choosing.
Write some code where you use the try...except flow to capture and handle your custom exception.