python 简单的字符串操作
python 判断字符串长度方法 len(str)
python 判断字符串全部为 数字 str.isdigit()
python 判断字符里是否包含某个字符 if '-' in str:
python 简单的字符串替换 str.replace('-','')
python 判断字符串长度方法 len(str)
python 判断字符串全部为 数字 str.isdigit()
python 判断字符里是否包含某个字符 if '-' in str:
python 简单的字符串替换 str.replace('-','')