demo_ref_list_copy.py:
fruits = ["apple", "banana", "cherry"] x = fruits.copy() print(x)
➜ begtut>python demo_list_copy.py
['apple', 'banana', 'cherry']