码迷,mamicode.com
首页 > 编程语言 > 详细

python title()的用法

时间:2016-01-21 23:11:46      阅读:324      评论:0      收藏:0      [点我收藏+]

标签:

  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






python title()的用法

标签:

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!