摘要: #coding=utf-8 __author__ = 'Administrator' # 字符串处理函数 s1 = "study python string function , I love python" #获取字符串长度 print(len(s1)) #将字符串全部转换为大写 print(s1.upper()) #将字符串全部转换为小写 print(s1.lower()) #将字符... 阅读全文
posted @ 2016-07-18 18:40 阿伟~ 阅读(1486) 评论(0) 推荐(1) 编辑