python中二维列表不能像一维列表那样进行复制操作
作者:互联网
```python
# 固定列表
arr = list()
for i in range(0, 50000, 1000):
if i == 0:
continue
temporary_arr = list(range(0, i))
random.shuffle(temporary_arr)
arr.append(temporary_arr)
arr_Quick = arr[:]
arr_Merge = arr[:]
arr_Insertion = arr[:]
上面,arr_Quick 变化,arr也会发生变化
标签:arr,temporary,python,list,列表,一维,Quick 来源: https://blog.csdn.net/qq_34848334/article/details/120925732