摘要: 元组 元组中的元素不可修改 tuple_container=[0,1,2,3,5,6,7,8] tuple_container[8]=8888 print(tuple_container) 不支持修改 IndexError: list assignment index out of range tu 阅读全文
posted @ 2021-10-25 15:33 hello秘密花园 阅读(118) 评论(0) 推荐(0) 编辑
摘要: python之list 常用操作 参考地址 http://c.biancheng.net/view/2208.html 增 append list_container.append("last") # 添加 作为一个元素添加到末尾 [0, 1, 2, 'last',] list_container. 阅读全文
posted @ 2021-10-25 15:10 hello秘密花园 阅读(56) 评论(0) 推荐(0) 编辑