标签:int dsp replace isa 去除 split() code color 字符
s="kdspl4ds66sf6ads26a6ffkfj" for i in s: if i.isalpha(): s=s.replace(i," ") l=s.split() print(l)
去除字符串的字符,用列表表示数字
原文地址:https://www.cnblogs.com/hopelv/p/10074119.html