没有正则表达式:
[x for x in my_list if not any(c.isdigit() for c in x)]
上一篇 使用python创建Postgres数据库
下一篇 如何在Python中进行多次导入?
版权所有 (c)2021-2022 MSHXW.COM
ICP备案号:晋ICP备2021003244-6号