开通VIP,畅享免费电子书等14项超值服
首页
好书
留言交流
下载APP
联系客服
2022.11.05 北京
mystr = 'hello world and gzy and java and python' # 字符串第一个字符大写 str1 = mystr.capitalize() print(str1) # 字符串中每个单词第一个字符大写 str2 = mystr.title() print(str2) # 字符串小写 str3 = mystr.lower() print(str3) # 字符串大写 str4 = mystr.upper() print(str4)
微信登录中...请勿关闭此页面