Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:04:45) [MSC v.1900 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> word=input("Enter word to check:")
Enter word to check:look
>>> if word==word[::-1]:
	print ("palindrome")
else:
	print("not palindrome")

not palindrome
>>> 
