I want to scan a number and print that it a palindrome, Armstrong number or a perfect number in python, I tried it the following way but it doesn\'t work, I have checked the