string = input('Введите строку: ')
count = 0
for ch in string:
if ch.isdigit():
count += 1
print(count)
string = input('Введите строку: ')
count = 0
for ch in string:
if ch.isdigit():
count += 1
print(count)