so I have this list which has multiple tuples in it tuples contain stock names from Indian stock market so the way I am using these tuples like stock pairs but problem is I don't want to repeat a tuple but in this list there are multiple tuples which are replicated but in reverse manner like ('ALBK', 'SBIN') same ('SBIN', 'ALBK') I only want one of these .ex ('ANDHRABANK', 'INDIANB') is also repeated as ('INDIANB', 'ANDHRABANK') I want to delete the replicate tuples how to do that
pairs = [('ALBK', 'SBIN'), ('ANDHRABANK', 'INDIANB'), ('ANDHRABANK', 'SBIN'), ('AXISBANK', 'FEDERALBNK'),
('AXISBANK', 'INDIANB'), ('BANKBARODA', 'FEDERALBNK'), ('BANKINDIA', 'AXISBANK'), ('FEDERALBNK', 'AXISBANK'),
('FEDERALBNK', 'BANKBARODA'), ('FEDERALBNK', 'UNIONBANK'), ('HDFC', 'ICICIBANK'), ('ICICIBANK', 'FEDERALBNK'),
('ICICIBANK', 'HDFC'), ('ICICIBANK', 'INDIANB'), ('INDIANB', 'ANDHRABANK'), ('INDIANB', 'AXISBANK'), ('INDIANB', 'ICICIBANK'),
('SBIN', 'ALBK'), ('SBIN', 'ANDHRABANK'), ('UNIONBANK', 'FEDERALBNK')]