This method returns - 1 if it is not possible to make string a palindrome . It returns - 2 if string is already a palindrome . Otherwise it returns index of character whose removal can make the whole string palindrome .
def possiblepalinByRemovingOneChar ( string : str ) -> int : NEW_LINE