結果 : python program to find perfect number using function