Skip to content

Instantly share code, notes, and snippets.

Last active Oct 13, 2020
What would you like to do?
def get_divisors(n):
divisors = []
for m in range(1, n+1):
if n % m == 0:
return divisors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment