# entering a sentence
string = input("Enter your chosen sentence: ")
n_string = string[::-1]
print(n_string.lower())
# change the size of the letter
sy = n_string.lower()
sx = string.lower()
# removing the space
x = sx.replace(" ", "")
y = sy.replace(" ", "")
if x == y:
    print("Entered sentence is a palindrome.")
else:
    print("Entered sentence isn't a palindrome.")

0ae466c78d80a9406a97c87ab7b38330f59cc887
<mask token>

<mask token>
print(n_string.lower())
<mask token>
if x == y:
    print('Entered sentence is a palindrome.')
else:
    print("Entered sentence isn't a palindrome.")

string = input('Enter your chosen sentence: ')
n_string = string[::-1]
print(n_string.lower())
sy = n_string.lower()
sx = string.lower()
x = sx.replace(' ', '')
y = sy.replace(' ', '')
if x == y:
    print('Entered sentence is a palindrome.')
else:
    print("Entered sentence isn't a palindrome.")

# entering a sentence
string = input("Enter your chosen sentence: ")
n_string = string[::-1]
print(n_string.lower())
# change the size of the letter
sy = n_string.lower()
sx = string.lower()
# removing the space
x = sx.replace(" ", "")
y = sy.replace(" ", "")
if x == y:
    print("Entered sentence is a palindrome.")
else:
    print("Entered sentence isn't a palindrome.")
