結果 : perfect number using for loop in python