在许多地方,(1,2,3)并且[1,2,3]可以互换使用.
(1,2,3)
[1,2,3]
我什么时候应该使用其中一个,为什么?
python tuples list
list ×1
python ×1
tuples ×1