Your question is Check String Palindrome Validity. Start with the requirements on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
At Notion, you need a utility function that checks whether a given string reads the same forward and backward. Write a function that returns True if the input string is a palindrome and False otherwise.
sTrue if s is identical to its reverseFalse otherwiseA palindrome comparison in this problem is case-sensitive and includes all characters, including spaces, punctuation, and digits.
def is_palindrome(s):