The program finds the factors of a number, which means the other numbers which can divide the given number. Eg: 5 is divisible by 5 and 1 Test Case 1 Input (stdin) 6 Expected Output 1 2 3 6 Test Case 2 Input (stdin) 5 Expected Output 1 5
n=int(input())
for i in range(1,n+1):
if(n%i==0):
print(i)