diff options
Diffstat (limited to 'progs/a354.py')
-rw-r--r-- | progs/a354.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/a354.py b/progs/a354.py new file mode 100644 index 0000000..e7555e0 --- /dev/null +++ b/progs/a354.py @@ -0,0 +1,3 @@ +def is_abundant(n):
+ fctrsum = sum([fctr for fctr in range(1, n) if n % fctr == 0])
+ return fctrsum > n
\ No newline at end of file |