I tried to use multiple assignment as show below to initialize variables, but I got confused by the behavior, I expect to reassign the values list separately, I mean b and c equal 0 as before.
a=b=c=[0,3,5] a=1 print(a) print(b) print(c)
Result is: [1, 3, 5] [1, 3, 5] [1, 3, 5]
Is that correct? what should I use for multiple assignment? what is different from this?
d=e=f=3 e=4 print('f:',f) print('e:',e)
result: ('f:', 3) ('e:', 4)