To make a shallow copy, you can slice the list: newprefix = prefix[:]. Or pass it into the list constructor: newprefix = list(prefix).
確定! 回上一頁