Finding all the common divisors
Write code · Basic · §7.6 Nested loops and the first math helper
Find all the common divisors of the two numbers, and store them in the list common in order from smallest to largest. A common divisor is a number that divides both numbers evenly.
Starter code
a = 48
b = 60Solve 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.