# -*- coding: utf-8 -*-
"""
Palindrome modified
"""


import string 

def isPalindrome(a):
    m=list(a)
    z=m[::-1]
    print(z)
    if z==m:
        print(''.join(z))
        print(''.join(m))
        print(" the string is palindrome")
    else:
        print(''.join(z))
        print(''.join(m))
        print(" the entered string is not palindrome")
            
def main():
    a=input("Enter the string to check palindrome  ")
    isPalindrome(a)

if __name__ == '__main__':
    main()
a5e4e55653ab8d0093cc5adffd95f69125e92d30
<mask token>


def isPalindrome(a):
    m = list(a)
    z = m[::-1]
    print(z)
    if z == m:
        print(''.join(z))
        print(''.join(m))
        print(' the string is palindrome')
    else:
        print(''.join(z))
        print(''.join(m))
        print(' the entered string is not palindrome')


<mask token>

<mask token>


def isPalindrome(a):
    m = list(a)
    z = m[::-1]
    print(z)
    if z == m:
        print(''.join(z))
        print(''.join(m))
        print(' the string is palindrome')
    else:
        print(''.join(z))
        print(''.join(m))
        print(' the entered string is not palindrome')


def main():
    a = input('Enter the string to check palindrome  ')
    isPalindrome(a)


<mask token>

<mask token>


def isPalindrome(a):
    m = list(a)
    z = m[::-1]
    print(z)
    if z == m:
        print(''.join(z))
        print(''.join(m))
        print(' the string is palindrome')
    else:
        print(''.join(z))
        print(''.join(m))
        print(' the entered string is not palindrome')


def main():
    a = input('Enter the string to check palindrome  ')
    isPalindrome(a)


if __name__ == '__main__':
    main()

<mask token>
import string


def isPalindrome(a):
    m = list(a)
    z = m[::-1]
    print(z)
    if z == m:
        print(''.join(z))
        print(''.join(m))
        print(' the string is palindrome')
    else:
        print(''.join(z))
        print(''.join(m))
        print(' the entered string is not palindrome')


def main():
    a = input('Enter the string to check palindrome  ')
    isPalindrome(a)


if __name__ == '__main__':
    main()

# -*- coding: utf-8 -*-
"""
Palindrome modified
"""


import string 

def isPalindrome(a):
    m=list(a)
    z=m[::-1]
    print(z)
    if z==m:
        print(''.join(z))
        print(''.join(m))
        print(" the string is palindrome")
    else:
        print(''.join(z))
        print(''.join(m))
        print(" the entered string is not palindrome")
            
def main():
    a=input("Enter the string to check palindrome  ")
    isPalindrome(a)

if __name__ == '__main__':
    main()