会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
GarVicker
博客园
首页
新随笔
联系
管理
订阅
2018年8月23日
各种对list,string操作函数的总结
摘要: #encoding=utf-8#reverse,用来反转lista=['aa','bb','cc']a.reverse()print a#['cc', 'bb', 'aa']#不能直接print a.reverse(),报None#'tuple','dict','str' object has no
阅读全文
posted @ 2018-08-23 15:09 GarVicker
阅读(249)
评论(0)
推荐(0)
公告