"""
Create a program that asks the user for a number and then prints out a list of all the divisors of that number.
(If you don’t know what a divisor is, it is a number that divides evenly into another number.
For example, 13 is a divisor of 26 because 26 / 13 has no remainder.)
"""

def findDivisors(num):
	list = range(2, num+1)
	new_list = []
	# for n in list:
	# 	if num%n == 0:
	# 		new_list.append(n)
	return [x for x in list if num%x == 0]

num = int(input('Enter number:'))

result = findDivisors(num)

print(result)