input: Write a function to determine if an exception should be raised when the input is not an integer for the provided square_root function. Return the squared root of the input if it is an integer, otherwise raise a TypeError with a specific message.
  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) raises TypeError
  assert square_root(25)==5.0
  assert square_root('four') raises TypeError
  assert square_root(None) raises TypeError
output: def square_root(x):
      if not isinstance(x, int):
          raise TypeError('Input must be an integer')
      return x**0.5