How to return unique elements in list of tuple as another tuple

前端 未结 0 1219
轻奢々
轻奢々 2020-12-01 01:06

Assume I have list of tuples a=[(0,1),(2,0),(1,4)] and I want to return unique element of each two tuples as a new tuple. For example (0,1) and

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