After 9 years of experience in Payroll, i decided to dive into a new field for myself - programming. I am very interested in learning code in order to subsequently apply my skills in work. In any case, this is a new experience that will lead to an interesting start to a new career.
n = int(input('Natural number: '))
divisors = []
for i in range (2, n // 2 + 1):
if n % i == 0:
divisors.append(i)
print('Divisors proper:', ','.join(map(str,divisors)))