I am confused on this code. I think that I am taking my orginal list to the temp so it should not be changed. Could someone expain this ?
a = [1,2,3]
b= a
b.remove(1)
print a
#Output [2,3]
Why the orginal list a
changed ? Is python work with references like pointers ?