diff --git a/solutions/challenge_28/perfect_numbers.py b/solutions/challenge_28/perfect_numbers.py index 6947076b2..a4eb59719 100644 --- a/solutions/challenge_28/perfect_numbers.py +++ b/solutions/challenge_28/perfect_numbers.py @@ -4,13 +4,12 @@ A module for identifying perfect numbers in a given range Created on 06 Jan 2025 @author: Arthur (Mr-Glucose) + """ def get_divisors(n): - """ - Returns a list of divisors of n, excluding n itself. - """ + """Checks if a list of divisors of n, excluding n itself""" if n <= 0: raise ValueError("Input must be a positive integer greater than 0")