python copy contents of list to another code example
Example: copy one list to another python
thislist = ["apple", "banana", "cherry"]
mylist = thislist.copy()
print(mylist)
thislist = ["apple", "banana", "cherry"]
mylist = thislist.copy()
print(mylist)