标签:for NPU print 练习 put pytho split() style 字符
# 数出字符中出现数字的数 123adc58yu5745
info = input(‘>>>‘)
for i in info:
if i.isalpha():
info = info.replace(i,‘ ‘)
l = info.split()
print(len(l))
标签:for NPU print 练习 put pytho split() style 字符
原文地址:https://www.cnblogs.com/8856S/p/9690695.html