human
Write a function to remove tuples from the given tuple. Here is a solution in Python:
Can you provide a the Python program you requested?
assistant
#Here is the Python program you requested.
 def remove_nested(test_tup):
  res = tuple()
  for count, ele in enumerate(test_tup):
    if not isinstance(ele, tuple):
      res = res + (ele, )
  return (res)