As part of a Boston Scientific Gruppe device-label validation utility, determine whether a string is a palindrome. A string is a palindrome when its characters appear in exactly the same order from left to right and right to left. Comparison is case-sensitive, and spaces and punctuation are treated as ordinary characters.
Implement is_palindrome(s) and return True if s is a palindrome, otherwise return False.
s, a string containing zero or more printable characters.s is a palindrome.def is_palindrome(s):