1、代码

a = "hhh123hhh"

a = a.rstrip('0123456789')

 

相关链接

评论可见,请评论后查看内容,谢谢!!!评论后请刷新页面。