1 задача
Anonymous
python
03/13/2021 10:25 AM
304 B
24
Indexable
month = int(input())
counter = 0
while True:
string = input()
# print(string)
if string == '0': break
stud_is, last_month = map(int, string.split())
if last_month == month: counter += 1
print(counter)Editor is loading...