Remove second nested element in nested tuple in Python

后端 未结 0 1174
-上瘾入骨i
-上瘾入骨i 2020-11-22 16:09

I have a list of tuples with coordinates:

((3.5, -0.5), (3.5, 0.5))
((3.5, 0.5), (4.5, 0.5))
((4.5, 0.5), (4.5, 1.5))
((4.5, 1.5), (5.5, 1.5))
((5.5, -0.5), (         


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