数字统计OJ python

阅读 95

2022-03-23

a=int(input())
for i in range(a):
	b=input()
	d=0
	for c in b:
		if "0"<=c<="9":
			d=d+1

	print(d)

相关推荐

精彩评论(0)

0 0 举报