Function Objects In Python Code For Palindrome Numbers