会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
九霄风云
CnBlogs
Home
New Post
Contact
Admin
Subscription
上一页
1
2
3
4
2018年10月16日
Python之字符串方法
字符串用法总结 1、将首字母大写 test = 'alex' v = test.capitalize() print(v)结果:'Alex' 2、将所有的大写字母变成小写 test = 'aLEx' v = test.casefold() print(v)结果:'alex' 3、replace替换~
Read More
posted @ 2018-10-16 18:10 九霄风云
Views(267)
Comments(0)
Diggs(0)
上一页
1
2
3
4
公告