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






原文地址:https://www.cnblogs.com/iathena/p/81f4da74cf7ae3fbc470ad625fc97ddd.html