• + 0 comments
    class Calculator(AdvancedArithmetic):
        def divisorSum(self, n):
            return sum([x for x in range(1,n+1) if n%x==0])