You are viewing a single comment's thread. Return to all comments →
class Calculator(AdvancedArithmetic): def divisorSum(self, n): return sum([x for x in range(1,n+1) if n%x==0])
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 →