Want to sort a python list by frequency of their absolute difference

后端 未结 0 1028
南笙
南笙 2021-01-11 13:09

I have a list like, lst=[[3,7],[4,9],[8,3],[1,5],[9,4],[4,5],[3,0],[2,7],[1,9]] and then want to sort this list by the frequency of their absolute difference like below

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