This commit is contained in:
2025-12-11 18:06:09 +05:00
parent bfa7413f9c
commit e98dd2f107
35 changed files with 0 additions and 0 deletions

15
operators_26.py Normal file
View File

@@ -0,0 +1,15 @@
n = int(input("Введите число n: "))
for num in range(1, n + 1):
divisor_count = 0
for i in range(1, num + 1):
if num % i == 0:
divisor_count += 1
print(f"{num} ", end="")
for i in range(divisor_count):
print("*", end="")
print()