python/2024-6-20-2.py

7 lines
84 B
Python

n=int(input())
for i in range(1,n+1):
if n%i==0:
print(i)