Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python3
- s = input()
- l = len(s)
- for i in range(l//2):
- if s[i] != s[-1-i]:
- print("It's not palindrome")
- quit()
- print("It's palindrome")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement