user
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.

### Instruction:
Modify the given code to add an exception handler.

### Input:
def divide(x, y):
  return x / y

### Response:
assistant
def divide(x, y):
  try:
    return x / y
  except ZeroDivisionError:
    print("Cannot divide by 0")