I'm a newbie to Python and just can't understand this: Code#1:
a, b = 0, 1
while a < 10:
    print(a)
    a, b = b, a+b
Code#2
a, b = 0, 1
while a < 10:
    print(a)
    a = b
    b = a+b
Why Code#1 produce Fibonacci sequence while Code#2 doesn't?
