try:
    x = 1 / 0
except ZeroDivisionError:
    print('Error caught')