Answers for "Build a Python function that returns True or False if a a String is a palindrome. (Note: A a palindrome is a word, number, phrase, or other sequence of characters which reads the same backward as forward.)"

1

palindrome words python

mes=input("Enter the word and see if it is palindrome ")
if mes==mes[::-1]:
    print("This word is palindrome")
else:
    print("This word is not palindrome")
Posted by: Guest on July-30-2020

Code answers related to "Build a Python function that returns True or False if a a String is a palindrome. (Note: A a palindrome is a word, number, phrase, or other sequence of characters which reads the same backward as forward.)"

Python Answers by Framework

Browse Popular Code Answers by Language