req1 = [23,24,25] req2 = req1 req2.append(26) op = [[],[]] op[0] = req2 op[1] = req1 print(op)
req2 = req1
使用复制方法将所有值从列表中复制到新对象。
req2 = req1.copy()