입력으로 1개의 정수 N 이 주어짐 정수 N 의 약수를 오름차순으로 출력하는 프로그램
t = int(input()) n = 1 for i in range(1, t+1): if t % n == 0: print(n, end =" ") n += 1
10
1 2 5 10