python title()的用法

 
     
  1. In [45]: str = "this is string example....wow!!!"

  2. In [46]: str.title()
  3. Out[46]: 'This Is String Example....Wow!!!'
  4. In [47]: str.title().istitle()
  5. Out[47]: True




来自为知笔记(Wiz)


转载于:https://www.cnblogs.com/iathena/p/81f4da74cf7ae3fbc470ad625fc97ddd.html

你可能感兴趣的:(python title()的用法)