Write a function that determines whether a given string is a palindrome. A palindrome reads the same from left to right and right to left.
Implement a function that returns True if the input string is a palindrome, and False otherwise.
s.s is a palindrome.def is_palindrome(s):