import copy #需要先倒入模块
husband = ['xiaohu',123,[15000,9000]]
wife = husband.copy()
wife[0] = 'xiaopang'
wife[1] = 234
# xiaosan = copy.copy()#浅拷贝
xiaosan = copy.deepcopy(husband) #深拷贝
xiaosan[0] = 'jinxing'
xiaosan[1] = 666
xiaosan[2][1] -= 1999
husband[2][1] -= 3000
print(wife)
print(xiaosan)