Advertisement
Guest User

Untitled

a guest
Jan 19th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. text = raw_input("Write a text: ")
  2.  
  3. if text == text[::-1]:
  4. print(text + " is palindrome")
  5. else:
  6. print(text + " is no palindrome")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement