会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Niel
博客园
首页
新随笔
联系
订阅
管理
2018年6月5日
python—list 使用方法
摘要: stus=['小黑','王端振','刘忻🌧️🌧️雨','三包']stus.append('王葱') #列表末尾位置添加元素stus.insert(1,'王葱') #指定位置添加元素stus.pop(1) #删除指定位置元素del stus[0] #删除指定位置元素stus.remove('三包'
阅读全文
posted @ 2018-06-05 17:13 niel
阅读(140)
评论(0)
推荐(0)
公告