Palindrome Using Lambda In Python