input: Write a function to validate if an input value is an integer and raise a TypeError if it is not. If the input is an integer, return the square root of the input.
  
  def validate_square_root(x):
      if not isinstance(x, int):
          raise TypeError('Input must be an integer')
      return x**0.5
  
  assert validate_square_root(4)==2.0
  assert validate_square_root('four')
  assert validate_square_root(9)==3.0
  assert validate_square_root(16)==4.0
  assert validate_square_root(25)==5.0
output: def validate_square_root(x):
      if not isinstance(x, int):
          raise TypeError('Input must be an integer')
      return x**0.5