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