时间:2024-10-16 19:32:58
1、打开cmd
2、进入python交互模式
3、定义个字符串str = "just a test"
4、执行str.capitalize()
5、输出字符串,看看首字母已经大写