Deep Copy in Python · import copy · x = [[1, 2, 3], [4, 5, 6], [7, 8, 9]] · z = copy.deepcopy(xs) · print(x) · prin(z).
確定! 回上一頁