Get the distance from every element in a list to any other element

后端 未结 0 1374
终归单人心
终归单人心 2020-12-30 00:30

I have a list:

l  = [10,22,3]

I\'m trying to create a function that returns the distances (how close they are in the list itself), such that

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