I append expand a list using operator ' * '.
>>> A = [[0, 0]] * 2
>>> A
[[0, 0], [0, 0]]
When I am trying to modify the first element in first list item, it modified the first element in all items of the list.
>>> A[0][0] = 10
>>> A
[[10, 0], [10, 0]]
Could you help me explain why? What is the mechanism behind?