my_tuple_1 = ((11, 14, 0), (78, 33, 11), (10, 78, 0), (78,78,78)) print("The tuple of tuples is : ") print(my_tuple_1) my_result = tuple(ele for ele in my_tuple_1 if not all(sub == ele[0] for sub in ele)) print("The tuple after removing like-element rows is: ") print(my_result)