What is the shortest way to copy all of a list’s data to a new list, with NO relation to the original list? code example
Example 1: create copy of an array python
new_list = list.copy()
Example 2: python copy list
a=[1,2,3,4]
b=a[:]
''' now b has all elements of a'''