This commit is contained in:
2025-12-11 18:01:56 +05:00
commit bfa7413f9c
38 changed files with 651 additions and 0 deletions

13
task_11.py Normal file
View File

@@ -0,0 +1,13 @@
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()