第一個引數為插入處前元素的索引值,所以 a.insert(0, x) 會插入在list 首位,而 ... 他們是序列資料類型中的兩個例子(請參考序列类型--- list, tuple, range)。
確定! 回上一頁