input: Write a function to handle the square root of an integer. If the input is not an integer, raise a TypeError with an appropriate error message. The function should return the square root of the integer if the input is valid.
  
  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(25) == 5.0
  assert square_root(9) == 3.0
  assert square_root(16) == 4.0
  assert square_root(100) == 10.0
output: def square_root(x):
      if not isinstance(x, int):
          raise TypeError('Input must be an integer')
      return x**0.5