k = 0
n = int(input())
while n != 0:
c = map(int, str(abs(n)))
s = 0
for i in c:
if i == 0:
s += 1
if s >= 2:
k += 1
print(k)
Объяснение:
k = 0
n = int(input())
while n != 0:
c = map(int, str(abs(n)))
s = 0
for i in c:
if i == 0:
s += 1
if s >= 2:
k += 1
n = int(input())
print(k)
Объяснение: