↳ Perfect numbers

Intro to Programming


Create a function isPerfect that accepts a number and returns true if it's perfect, and false otherwise.

A perfect number is a positive integer that is equal to the sum of its proper positive divisors excluding the number itself. For example, 6 is perfect, because 6 = 1 + 2 + 3.

Start challenge Successful completion: 95%

Last code review

User Updated at Submissions count
krivtsov 09 Mar 09:41 1