# Palindrome Strings
# A palindrome is a word, phrase, number, or other sequence of characters which reads the same backward or forward. This includes capital letters, punctuation, and word dividers.
# Implement a function that checks if something is a palindrome.
 
# isPalindrome("anna")   ==> true
# isPalindrome("walter") ==> false
# isPalindrome(12321)    ==> true
# isPalindrome(123456)   ==> false

def is_palindrome(string):
    if str(string) == str(string)[::-1]:
        return True
#     if str(string)== str(string[::-1]):
#         return True
    else:
        return False

str1=input("enter the string: ")
print(is_palindrome(str1))
