You are viewing a single comment's thread. Return to all comments →
python3 one-liner
return sum([i for i in range(1,int(n/2+1)) if n%i==0],n)
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 one-liner