Question: Using python A positive integer is called a perfect number if it is equal to the sum of all of its positive divisors, excluding itself.
Using python 
A positive integer is called a perfect number if it is equal to the sum of all of its positive divisors, excluding itself. For example, 6 is the first perfect number, because 6=1+2+3. The next number is 28=1+2+4+7+14 There are four perfect numbers less than 10000 . Write a program to find these four numbers. Note: You don't have to display the operation of adding the divisors. Sample run: The 4 perfect numbers
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
