You are viewing a single comment's thread. Return to all comments →
basically u just need to make a fucntion to check if a n is divisible by a number from 1 to 1000 or not, and summ all the numbers that are divisors of n.
def divisorSum(self, n):
for i in range(1,1001):