As in variable assignment, not homework assignment! :)

I understand the first line but not the second of the following code:

a, b = 0, 1
a, b = b, a + b

In the first line a is assigned 0 and b is assigned 1 simultaneously.

However what is the sequence of operation in the second statement? I;m 
confused due to the inter-dependence of the variables.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to