摘要: capitalize() String.capitalize() 将字符串首字母变为大写 name = 'xiaoming' new_name = name.capitalize() print(new_name) 运行结果:Xiaoming count() String.count() 统计字符出 阅读全文
posted @ 2021-04-28 15:55 末年926 阅读(97) 评论(0) 推荐(0) 编辑