摘要: #! -*- coding:utf-8 -*- #1、strip,lstrip,rstrip #去掉空格 name.strip() 去掉空格和换行符 name.strip('xx') 去掉某个字符串 #2、lower,upper #将字母进行小写,大写#3、startswith,endswith # 阅读全文
posted @ 2018-11-14 12:35 binghex 阅读(470) 评论(0) 推荐(0)