Your question is Check String Palindrome Efficiently. 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.
Given a string s, write a function that returns true if the string is a palindrome and false otherwise. A palindrome reads the same forward and backward. Assume comparison is case-sensitive and includes all characters in the string.
def is_palindrome(s):