📜  Python 复制列表 - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:02.676000             🧑  作者: Mango

代码示例1
thislist = ["apple", "banana", "cherry"]
mylist = thislist.copy()
print(mylist)