A
alexander.genkin
Hi Python experts! Please explain this behavior:
Up till now, 'mm' and 'nn' look the same, right? Nope!
???
Python 2.5 Win XP
Thanks!
[[], [], []]nn=3*[[]]
nn [[], [], []]
mm=[[],[],[]]
mm
Up till now, 'mm' and 'nn' look the same, right? Nope!
[[17], [17], [17]]mm[1].append(17)
mm [[], [17], []]
nn[1].append(17)
nn
???
Python 2.5 Win XP
Thanks!