代码示例:(标识:python_list_copy_2)
python_list_copy_2.py
thislist = ["apple", "banana", "cherry"]
mylist = list(thislist)
print(mylist)
运行结果: