Topic: Mathematics Problem / Level: intermediate

Problem: Implement a function to check if a number is a perfect number using its divisors.

Run the code to see the output here...