其用法如下: import copy list1 = [1, 2, 3] list2 = copy.copy(list1) ... 因此,新物件和原物件沒有任何關聯。 Python 中以copy.deepcopy() 來實現 ...
確定! 回上一頁