
Return True if a string reads the same forward and backward, otherwise return False. Implement a direct palindrome check for a single input string.
s = "racecar"OutputTrueWhyThe string is symmetric.s = "hello"OutputFalseWhyThe characters do not match in mirrored positions.`0 <= len(s) <= 10^5``s` consists of printable ASCII charactersReturn a boolean