In [45]: str = "this is string example....wow!!!"
In [46]: str.title()
- Out[46]: 'This Is String Example....Wow!!!'
In [47]: str.title().istitle()
Out[47]: True
转载于:https://www.cnblogs.com/iathena/p/81f4da74cf7ae3fbc470ad625fc97ddd.html
In [45]: str = "this is string example....wow!!!"
In [46]: str.title()
In [47]: str.title().istitle()
Out[47]: True
转载于:https://www.cnblogs.com/iathena/p/81f4da74cf7ae3fbc470ad625fc97ddd.html