假设我有一个列表x = [1,2,3]并且我想输出除索引值之外的所有其他值,是否有可以使用的列表操作?,即:x [0] => [2,3] ,x [1] => [1,3],x [2] => [1,2]?
python slice
python ×1
slice ×1