How To Write A Function For Palindrome In Python Programming Language