


'''simple docstring'''

def _SCREAMING_SNAKE_CASE      (A       )       ->       bool:






       """simple docstring"""







       return sum(i for i in range(1  , number // 2 + 1       ) if number % i == 0       ) == number


if __name__ == "__main__":
 print('Program to check whether a number is a Perfect number or not...')
 lowerCamelCase							:   Union[str, Any]  						=	int(input('Enter number: ').strip())
 print(f"""{number} is {'' if perfect(number) else 'not '}a Perfect Number.""")








'''simple docstring'''

from __future__ import annotations

def _SCREAMING_SNAKE_CASE      (A       )       ->       bool:






       """simple docstring"""







       return len(set(A       )       ) == len(A       )


if __name__ == "__main__":
 import doctest

 doctest.testmod()




