python中如何去掉字符串中的数字
导读:python中如何去掉字符串中的数字?str = 'a1b2c3- 'print filter(lambda x:x not in '0123456789',str ...
python中如何去掉字符串中的数字?
str = 'a1b2c3-)'print filter(lambda x:x not in '0123456789',str)
声明:本文内容由网友自发贡献,本站不承担相应法律责任。对本内容有异议或投诉,请联系2913721942#qq.com核实处理,我们将尽快回复您,谢谢合作!
若转载请注明出处: python中如何去掉字符串中的数字
本文地址: https://pptw.com/jishu/65798.html
