I'm trying to remove the duplicates out of tuples in a list and add them in a new list with out duplicates,
I tried to make two loops but and check for duplicates or sets but the problem there's three tuples
can anyone help me, I'm stuck here
example
[(2, 5), (3, 5), (2, 5)]
Output
[2, 3, 5]