摘要: 列表list 添加元素 append #直接添加整体 extend #逐个添加 insert #指定位置添加 li = ['one','two','three','four'] li.append('five') #整体添加['one','two','three','four'] li.extend 阅读全文
posted @ 2025-07-10 23:32 北巷TAT 阅读(18) 评论(0) 推荐(0)