Source Code:
(back to article)
import copy original_list = [1, 2, 3] new_list = copy.deepcopy(original_list) print(new_list)
Result:
Report an issue