title: SyntaxError: can't assign to function call with append
body: <p>I have the following code, where it seems I'm using <code>append</code> in a wrong way, since I'm getting: <code>SyntaxError: can't assign to function call</code></p>
  
  <pre><code>i = 0
  distance = []    
  distance.append(i) = measureDistance.Distance2BetweenPoints(p1, p2)
  </code></pre>
  
  <p>How can I fix this issue?</p>
  
  <p>Thanks.</p>