I've been told that Python 3.3+adds the list.copy()
method, which should be as fast as slicing:
newlist = old_list.copy()
I've been told that Python 3.3+adds the list.copy()
method, which should be as fast as slicing:
newlist = old_list.copy()