capitalize()在Python中含义

Python为string对象提供了转换大小写的方法:upper() lower().

还不止这些,Python还为我们提供了首字母大写,其余小写的capitalize()方法,

以及所有单词首字母大写,其余小写的title()方法.

原文地址:https://www.cnblogs.com/blogofwyl/p/4607637.html