Can anyone help me to check why python gives two different result of a and b?
a = [[0,0],[0,0]] b = [[0]*2]*2 a[0][0] += 1 b[0][0] += 1
code