Files
operators/operators_11.py
2025-12-11 18:06:09 +05:00

14 lines
316 B
Python

k = int(input("Введите цифру k: "))
s = int(input("Введите число s: "))
start = int(input("Введите начало интервала: "))
count = 0
num = start
while count < 10:
if num % 10 == k and num % s == 0:
print(num, end=" ")
count += 1
num += 1
print()