I am using Python 2.6 with ide and i created a list with names
names = 'mark', 'raymond', 'rachel', 'matthew', 'roger', 'judith', 'charlie', 'melissa', 'betty']
and then set names = nmls
so even if I update names, nmls gets updated...
however if I do
names = deque(['raymond', 'rachel', 'matthew', 'roger', 'judith', 'charlie', 'melissa', 'betty'])
and then nmls gives the old list not the new names... how is this happening ?