- 博客(1)
- 收藏
- 关注
原创 python常用命令-字符串操作
字符串操作序号与切片: str[m:n:k]; str[::]-1常用函数: len(); str(); hex(); oct()字符转unicode码: ord()#返回整数unicode码转字符: chr()字符串操作常用方法: str.upper(); str.lower(); str.split(); str.join(); str.count(); str.center();str.replace();str.strip()槽{}:“hello,{0} and {1}”.format
2020-06-25 17:51:26
348
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅