input: Write a function to raise a TypeError exception if the input value is not an integer when calculating the square root of the input. If the input value is an integer, return the square root of the input value.
  
  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
  assert square_root(16)==4.0
  assert square_root('a')
  assert square_root(3.5)
  assert square_root(True)
output: def square_root(x):
      if not isinstance(x, int):
          raise TypeError('Input must be an integer')
      return x**0.5