Finding all the divisors

Write code · Basic · §7.3, §7.6 Nested loops and the first math helper

Make a list of all the divisors of n. Print the list of divisors on the first line and the number of divisors on the second line.

Starter code

n = 36

Solve this problem in your browser

Python runs in your browser and checks your answer right away. Hints and the answer are on the problem page.