描述: Python title() 方法返回"标题化"的字符串,就是说所有单词都是以大写开始,其余字母均为小写。 语法: str.title(); 参数: NA. 返回值: 返回"标题化"的字符串,就是说所有单词都是以大写开始。 实例: >>> sen="My motherland is the people's Republic of China" >>> sen.title() "My Motherland Is The People'S Republic Of China"