主页
Python
Python 列表
demo_list_copy
运行 ❯
×
更改方向
保存代码
更改主题
thislist = ["apple", "banana", "cherry"] mylist = thislist.copy() print(mylist)
['apple', 'banana', 'cherry']