list copy a_list = list(a) a_index = a[:] a_copy = a.copy() a.append(5) print("Shallow copy") print("a_list: ", a_list) print("a_index: ", a_index) ...
確定! 回上一頁