LearnPy Hub
← Comprehensions problems
Medium

Divisors

Read n and print the list of all its divisors in increasing order.

Input

One integer n ≥ 1.

Output

A list.

Sample 1

Input
12
Output
[1, 2, 3, 4, 6, 12]

Sample 2

Input
1
Output
[1]
solution.py
Output appears here
Divisors · Python practice problem · LearnPy Hub