Python Practice Test

Python Exception Handling 5

Free · Instant Results

What is the correct way to define a custom exception that carries an error code?
▶ Start Practice Test