If I do this
mylist = [1,2,3,4] a = mylist a = 'hello' >>>mylist output : 'hello',2,3,4
I find that the value of mylist has changed to
So my question is..
If I assign one variable as a value of another (like saying a is mylist), then is 'a' another "copy" of mylist or does it simply point to the original variable "mylist"? From the output I got, it seems that way.. but I want to confirm.