#Palidnrome
word=input("Enter the word")
word=word.replace(" ","")
word=word.casefold()
new_word=word[::-1]
if(word==new_word):
    print("Yes, the String is a palindrome")
else:
    print("No, the String is not a palindrome")

273774f2075956e7ddd5f75a6ab1ce7debacff89
<mask token>

<mask token>
if word == new_word:
    print('Yes, the String is a palindrome')
else:
    print('No, the String is not a palindrome')

word = input('Enter the word')
word = word.replace(' ', '')
word = word.casefold()
new_word = word[::-1]
if word == new_word:
    print('Yes, the String is a palindrome')
else:
    print('No, the String is not a palindrome')

#Palidnrome
word=input("Enter the word")
word=word.replace(" ","")
word=word.casefold()
new_word=word[::-1]
if(word==new_word):
    print("Yes, the String is a palindrome")
else:
    print("No, the String is not a palindrome")
