比如我想list1的是我不能显示列表正确
['abc', '123', 'def', '456', 'ghi', '789']
和列表2
[['abc', '123'], ['def', '456'], ['ghi', '789']]
但是它打印
['ghi', '789']
[['abc', '123'], ['def', '456'], ['ghi', '789']]
And if I put outside the range it prints
['abc', '123', 'def', '456', 'ghi', '789']
[['abc', '123', 'def', '456', 'ghi', '789'], ['abc', '123', 'def', '456', 'ghi', '789'], ['abc', '123', 'def', '456', 'ghi', '789']]
为什么它会覆盖前两个元素?