Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- s = input()
- l = len(s)
- for i in range(l // 2):
- if s[i]!=s[l - 1 - i]:
- print("no")
- break
- else:
- print("yes")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement