Negative sign swapping in a python list

后端 未结 0 860
北荒
北荒 2021-01-21 07:28
x = [[-123 456],[567 -8910],[432 -890], [-567 976]]

I have a list of list, I want to swap the negative symbol of x and y elements of a list, if x is not

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