最佳答案
如果我有以下Python代码
>>> x = []
>>> x = x + [1]
>>> x = x + [2]
>>> x = x + [3]
>>> x
[1, 2, 3]
是否保证x
始终是[1,2,3]
,或者可能有其他临时元素的顺序?