字符串:大小写 去空格替换切割
摘要:
#.lower 转化成小写字符串a = input(">>>")a1 = a.lower()print(a1) #.upper 转化成大写字符串a = input(">>>")print(a.upper()) #.isdigit 检查是否是十进制数字a = input(">>>")a1 = a.is 阅读全文
posted @ 2019-09-13 13:18 yeers 阅读(244) 评论(0) 推荐(0) 编辑