To create a shallow copy you need to call `list()` on the original list. In your example, `y = list(x)` would create a shallow copy (another independent list).
確定! 回上一頁