l = []
zeroCount = 0
for _ in range(int(input())):
l.append([int(i) for i in input().split()])
for line in l:
for number in line:
if number == 0:
zeroCount += 1
print('Количество чисел равных нулю:', zeroCount)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
l = []
zeroCount = 0
for _ in range(int(input())):
l.append([int(i) for i in input().split()])
for line in l:
for number in line:
if number == 0:
zeroCount += 1
print('Количество чисел равных нулю:', zeroCount)