title: Finding differences between all values in an List
body: <p>I want to find the differences between all values in a numpy array and append it to a new list. </p>
  
  <pre><code>Example: a = [1,4,2,6]
  result : newlist= [3,1,5,3,2,2,1,2,4,5,2,4]
  </code></pre>
  
  <p>i.e for each value <code>i of a</code>, determine difference between values of the rest of the list.</p>
  
  <p>At this point I have been unable to find a solution</p>