human
Can you provide a the Python program you requested given the following:
Write a function to remove uneven elements in the nested mixed tuple. Here is a solution in Python:
assistant
#Here is the Python program you requested.
 def even_ele(test_tuple, even_fnc): 
	res = tuple() 
	for ele in test_tuple: 
		if isinstance(ele, tuple): 
			res += (even_ele(ele, even_fnc), ) 
		elif even_fnc(ele): 
			res += (ele, ) 
	return res 
def extract_even(test_tuple):
  res = even_ele(test_tuple, lambda x: x % 2 == 0)
  return (res)