You are viewing a single comment's thread. Return to all comments →
Simple one-liner:
return sum([i for i in range(1,n+1) if(n%i==0)])
Day 19: Interfaces
You are viewing a single comment's thread. Return to all comments →
Simple one-liner: