l=(1,2,3,4,5) l.clear() 列表清空 l.romove(1) 列表刪除 一個左側第一個元素 l.reverse() 元素逆序 l.insert(索引值,變量) 元素插入位置 l.append(變量) 插入結尾元素
留言