Is this syntax:
x, y = 0,1
while y < 50:
print(y)
x, y = y, x+y
The same as this:
x = 0
y = 1
while y < 50:
print(y)
x = y
y = x+y
If so why do they print different results? I'm trying to understand how the first code prints: 1, 1, 3, 5, 8, 13, 21, 34
because when I debug in my head and run the second code it prints: 1, 2, 8, 16, 32
. Basically I cannot understand how the first code is working line by line.