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. xyz(10,2)
Success #stdin #stdout 0.03s 9596KB
stdin
Standard input is empty
stdout
Result of c= 5.0
over and out