demo_list_copy2.py:
thislist = ["apple", "banana", "cherry"] mylist = list(thislist) print(mylist)
➜ begtut>python demo_list_copy2.py
['apple', 'banana', 'cherry']