while True:
n = input()
bool = False #包含数字标识符
for i in n:
if i.isdigit() == True:
#循环n的每个值 如果是数字就进来这里把标识符变成True
bool = True
if bool == False:#程序进来这 就是不包含数字
print("不包含数字")
break
print(len(n))
08-03
1090
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
07-29
603
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)