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