How can i get a Cartesian product filtering out the pair of tuples with repeated results?

前端 未结 0 1892
陌清茗
陌清茗 2021-01-24 08:07

Im trying to define a function that gets the cartesian product of a given list with itself , however i nedd to filter out the elemnts that contains the same pairs.

For ex

相关标签:
回答
  • 消灭零回复
提交回复
热议问题