#wap to input a number and print its factors

n = int(input("enter any +ve number: "))
ls = []

for i in range(1,n+1):
    if n % i == 0:
        ls.append(i)

print(ls)
5a99d834aa4ba617f55601cd306e666b196509ef
<mask token>

<mask token>
for i in range(1, n + 1):
    if n % i == 0:
        ls.append(i)
print(ls)

n = int(input('enter any +ve number: '))
ls = []
for i in range(1, n + 1):
    if n % i == 0:
        ls.append(i)
print(ls)

#wap to input a number and print its factors

n = int(input("enter any +ve number: "))
ls = []

for i in range(1,n+1):
    if n % i == 0:
        ls.append(i)

print(ls)