摘要: 15. 用正则过滤掉英文和数字 题目:字符串a = "not 404 found 张三 99 深圳",每个词中间是空格 输出:"张三 深圳" import re a = "not 404 found 张三 99 深圳" list = a.split(" ") print(list) # ['not' 阅读全文
posted @ 2020-11-30 20:08 Allin007 阅读(174) 评论(0) 推荐(0)