首页 > 编程语言 > 详细

python title()的用法

时间:2016-01-21 23:10:51      阅读:260      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!