NPTEL solution
Solution for NPTEL Programming, Data Structures and Algorithms using Python, Week 2 Programming Assignment
Question :- A positive integer n is said to be perfect if the sum of the factors of n, other than n itself, add up to n. For instance 6 is perfect since the factors of 6 are {1,2,3,6} and 1+2+3=6. Likewise, 28 is perfect because the factors of 28 Read more…