input: Write a function to check if all the elements in tuple have same data type or not.
  assert check_type((5, 6, 7, 3, 5, 6) ) == True
  assert check_type((1, 2, "4") ) == False
  assert check_type((3, 2, 1, 4, 5) ) == True
  
output: def check_type(tup):
      return all(isinstance(x, type(tup[0])) for x in tup)