input: Write a python function to handle division with exception handling for division by zero.
  assert function(10, 2) == 5
  assert function(15, 3) == 5
  assert function(9, 0) == None
output: def function(a, b):
      try:
          return a / b
      except ZeroDivisionError:
          return None