我正在使用正则表达式过滤,但收到此错误
a = [3,2,1]
b=a
print id(b) #4376879184
print id(a) #4376879184
#they will be having the same id
a = [1,2,3]
#now you have assigned a new address which will have the new array
print id(b) #4376879184
print id(a) #4377341464
#they will be having different id now