title: How do chained assignments work?
body: <p>A quote from something:</p>
  
  <pre><code>&gt;&gt;&gt; x = y = somefunction()
  </code></pre>
  
  <p>is the same as</p>
  
  <pre><code>&gt;&gt;&gt; y = somefunction()
  &gt;&gt;&gt; x = y
  </code></pre>
  
  <p>Question: Is </p>
  
  <pre><code>x = y = somefunction()
  </code></pre>
  
  <p>the same as </p>
  
  <pre><code>x = somefunction()
  y = somefunction()
  </code></pre>
  
  <p>?</p>
  
  <p>Based on my understanding, they should be same because <code>somefunction</code> can only return exactly one value.</p>