Sorting of list of arrays in descending order of sum of absolute values of array

前端 未结 0 936
囚心锁ツ
囚心锁ツ 2020-12-13 17:58

I want to sort a list of arrays in descending order of sum of absolute values of arrays in python. For example input array=[[1, 2, -3, -4], [-2, 3, -1, 5]] I want to sort it

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