Python Assignment Order
<p>I am new to python. Can someone explain why the following two python example does not output the same thing?</p>

<p>Example 1</p>

<pre><code>a, b = 0, 1
while b &lt; 50:
    print(b)
    a, b = b, a + b
</code></pre>

<p>Example 2</p>

<pre><code>a, b = 0, 1
while b &lt; 50:
    print(b)
    a = b
    b = a + b
</code></pre>

<p>Thanks</p>
