fork download
  1. def throw(text):
  2. raise Exception(text)
  3.  
  4. def a():
  5. throw('a')
  6.  
  7. def b():
  8. throw('b')
  9.  
  10. a()
Runtime error #stdin #stdout #stderr 0.01s 7180KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "prog.py", line 10, in <module>
  File "prog.py", line 5, in a
  File "prog.py", line 2, in throw
Exception: a