这里列举一下字符串的一些操作,方便以后用到时查询使用。 1.capitalize print("my name is Galen".capitalize())#首字母大写My name is galenpr 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交