When I do something like:
U = [(1.0, 0.0), (0.0, 1.0)]
set(U)
It gives me:
{(0.0, 1.0), (1.0, 0.0)}
I just w
I think what is confusing you is the symmetric nature of the tuples. Converting the list to a set has not affected the arrangement of items in the tuples but rather the order of the tuples. And that is because sets are unordered by nature. Here is another example with asymmetric tuples.
>>> U = [(2.0, 0.0), (0.0, 1.0)]
>>> set(U)
{(0.0, 1.0), (2.0, 0.0)}