Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def is_palindrome(string):
- sage = "True" if string[:] == string[::-1] else "False"
- print(sage)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement