def solve(self, cipher):
        for i in xrange(len(cipher)):
            if self.__is_palindrome(cipher[:i] + cipher[i + 1:]):
                return i

        return -1
Do whatever is needed to reset the state - typically a scene clear will be enough.
dataset/ETHPy150Open algorhythms/HackerRankAlgorithms/Palindrome Index.py/Solution_TLE.solve--crossover with--dataset/ETHPy150Open acil-bwh/SlicerCIP/Scripted/CIP_Blank/CIP_Blank.py/CIP_BlankTest.setUp