Python 中的 list 是由『有序(ordered)』的元素(element)構成。 ... Python索引從0開使,並採 [n] 取值 ... x[1:-1] = [] # 移除list內多個元素 x
確定! 回上一頁