I’m not an expert in python, but I’d recommend a for loop, so:
# From 1 to 10
n = 0
for i in range(10):
n = n + 1
abundant(n)
Hope this helps!
solved Abundant numbers list in Python
I’m not an expert in python, but I’d recommend a for loop, so:
# From 1 to 10
n = 0
for i in range(10):
n = n + 1
abundant(n)
Hope this helps!
solved Abundant numbers list in Python