number_of_multiples = 0
while True:num = int(input("Введите число: "))if num == 0:breakif num % 7 == 0:number_of_multiples += 1
print("Количество чисел, кратных 7:", number_of_multiples)
number_of_multiples = 0
while True:
num = int(input("Введите число: "))
if num == 0:
break
if num % 7 == 0:
number_of_multiples += 1
print("Количество чисел, кратных 7:", number_of_multiples)