fork download
  1. def xyz(a,b):
  2. try:
  3. c=a/b
  4. print("Result of c=",c)
  5. except ZeroDivisionError:
  6. print("Error: cannot divide by zero")
  7. finally:
  8. print("over and out")
  9.  
Success #stdin #stdout 0.03s 9548KB
stdin
Standard input is empty
stdout
Standard output is empty