input: Write a function that modifies the provided square_root function to raise a TypeError if the input value is not an integer. The function should return the square root of the input if it is an integer.
  def square_root(x):
      if not isinstance(x, int):
          raise TypeError('Input must be an integer')
      return x**0.5
  assert square_root(4)==2.0
  assert square_root(9)==3.0
  try:
      square_root('a')
  except TypeError:
      pass
  else:
      assert False
  try:
      square_root(2.5)
  except TypeError:
      pass
  else:
      assert False
output: def square_root(x):
      if not isinstance(x, int):
          raise TypeError('Input must be an integer')
      return x**0.5