Catalina promotion systems can use short tokens whose characters must read identically from both directions. Given a token, determine whether it is a palindrome.
A string is a palindrome if it reads the same left to right and right to left. The comparison is case-sensitive, and every character is significant.
Implement is_palindrome(s), which accepts a string s and returns a boolean:
True if s is a palindrome.False otherwise.def is_palindrome(s):