If there are more than two characters , check if middle substring is also palindrome or not .
if ( s < e + 1 ) : NEW_LINE INDENT return isPalRec ( st , s + 1 , e - 1 ) ; NEW_LINE DEDENT return True NEW_LINE def isPalindrome ( st ) : NEW_LINE n = len ( st ) NEW_LINE