Python - 判断字符串是否为数字、字母、空格等_程序猿杂记-程序员宝宝 ... def checkio(s): fs = ''.join(filter(str.isalnum, s)) # 只保留字母和数字 return ...
確定! 回上一頁