title: How can I calculate the variance of a list in python?
body: <p>If I have a list like this:</p>
  
  <pre><code>results=[-14.82381293, -0.29423447, -13.56067979, -1.6288903, -0.31632439,
            0.53459687, -1.34069996, -1.61042692, -4.03220519, -0.24332097]
  </code></pre>
  
  <p>I want to calculate the variance of this list in Python which is the average of the squared differences from the mean.</p>
  
  <p>How can I go about this? Accessing the elements in the list to do the computations is confusing me for getting the square differences.</p>