Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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")
Source by zerotomastery.io #
 
PREVIOUS NEXT
Tagged: #palindrome #words #python
ADD COMMENT
Topic
Name
7+4 =