# your code goes here def a(): try: x = 10/0; except Exception as e: raise TestException(e) def b(): a(); def c(): b(); a();
Standard input is empty
Standard output is empty
Traceback (most recent call last): File "./prog.py", line 5, in a ZeroDivisionError: division by zero During handling of the above exception, another exception occurred: Traceback (most recent call last): File "./prog.py", line 15, in <module> File "./prog.py", line 7, in a NameError: name 'TestException' is not defined