第一個引數為插入處前元素的索引值,所以 a.insert(0, x) 會插入在list 首位,而 ... 我們看到list 和字串(string) 有許多共同的特性,像是索引操作(indexing) 以及 ...
確定! 回上一頁