Look at the code:
a = ['Hello']
b = a # ['Hello']
b.append(2)
print b # ['Hello', 2]
print a # ['Hello', 2]
Here, a is assigned to b, meaning that the change of value in a can affect the value of b. How can the change in b can affect a in this case?
Is it that List in python have any special rule where appending a value can affect both a and b?