summaryrefslogtreecommitdiff
path: root/progs/a459.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a459.py')
-rw-r--r--progs/a459.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/progs/a459.py b/progs/a459.py
new file mode 100644
index 0000000..0ea51a8
--- /dev/null
+++ b/progs/a459.py
@@ -0,0 +1,4 @@
+def divisor(n):
+ for i in range(n):
+ x = len([i for i in range(1,n+1) if not n % i])
+ return x \ No newline at end of file