- 博客(2)
- 收藏
- 关注
原创 string字符串常用操作
#-*-coding:utf-8 -*- ''' Created on 2014年11月5日 @author: Zroad ''' import sys #将字符串转换为序列 strList = list("Hello,python!") print strList #遍历字符串中的任意一字符 for char in "Hello,python!": #print char
2014-11-05 23:54:33 322
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人