I have the following:
list = ["player1", "player2", "player3"]
I want to find all possible combinations of two elements of that list, but with no duplicates. I have tried to work with the itertools.combinations() but without the desired result.
I'm looking for a result like this:
player1, player2
player1, player3
player2, player3
Can someone help me in the right direction?
Thanks in advance