To create a shallow copy, you can use the copy() method or the copy.copy() function from the copy module. import copy original_list = [1, [2, 3]] ...
確定! 回上一頁