2016年9月1日

摘要: str='python String function' 生成字符串变量str='python String function'字符串长度获取:len(str)例:print '%s length=%d' % (str,len(str))字母处理全部大写:str.upper()全部小写:str.lo 阅读全文
posted @ 2016-09-01 17:33 bestsarah1 阅读(183) 评论(0) 推荐(0) 编辑

导航