... import copy >>> list2 = copy.deepcopy(list1) >>> list2 [1, 2, ('a', 'b', [1, 2], 3), 4] >>> list1[2][2] [1, 2] >>> list1[2][2].append(5) ...
確定! 回上一頁