Horje
palindrome words python Code Example
string palindrome in python
n = input("Enter the word and see if it is palindrome: ") #check palindrome
if n == n[::-1]:
    print("This word is palindrome")
else:
    print("This word is not palindrome")
palindrome checker python
value = input("Enter a Word: ")

if value == value[::-1] :
    print(value)
    print(value[::-1])
    print("THIS WORD IS A PALINDROME")
else :
    print(value)
    print(value[::-1])
    print("THIS WORD IS NOT A PALINDROME")
python palindrome
def palindrome(a):
    return a == a[::-1]

palindrome('radar') 		# True
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")




Python

Related
quadratic equation Code Example quadratic equation Code Example
nltk python Code Example nltk python Code Example
connect mysql sql alchemy Code Example connect mysql sql alchemy Code Example
how to make minecraft using python Code Example how to make minecraft using python Code Example
numpy random for string Code Example numpy random for string Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
6