You are viewing a single comment's thread. Return to all comments →
Python3 :
class Calculator(AdvancedArithmetic): def divisorSum(self, n): divisor = [] for num in range(1,n+1): if n % num == 0: divisor.append(num) return sum(divisor)
Seems like cookies are disabled on this browser, please enable them to open this website
Day 19: Interfaces
You are viewing a single comment's thread. Return to all comments →
Python3 :