摘要:
字符串的操作 s=' 欢迎登陆 ' #*替换完的字符串会返回新的字符串,原字符串不能修改 # print(s.strip())#去掉字符串两边的空格和换行符 # print(s.rstrip())#只去左边的 # print(s.lstrip())#只去右边 # print(s.replace('a 阅读全文
posted @ 2019-05-31 20:42
xiao28
阅读(144)
评论(0)
推荐(0)