Get your own Python server Result Size: 625 x 565
x
 
#The try block will generate a ArithmeticError, because you cannot divide a number with 0:
try:
  print(10 / 0)
except ArithmeticError:
  print("Error in calculation")
except:
  print("Something else went wrong")
Error in calculation