在Python 中,可以使用 insert() 方法和'+' 操作符两种方式往列表的头部添加元素:. 使用 insert() 方法:. my_list = ['apple', 'banana', 'orange'] ...
確定! 回上一頁