python3 深浅copy对比详解 一、赋值对比1、列表l1=[1,2,3]l2=l1l1.append('a')print(l1,l2)#[1,2,3,'a'][1,2,3,'a']print(id(l1),id(l2))#4349984 深浅copy