Loop to find if any palindromic is still left in the array
for i in range ( n ) : NEW_LINE INDENT s = a [ i ] NEW_LINE a [ i ] = a [ i ] [ : : - 1 ] NEW_LINE if ( a [ i ] != " " ) : NEW_LINE INDENT if ( a [ i ] == s ) : NEW_LINE INDENT s1 = a [ i ] NEW_LINE break NEW_LINE DEDENT DEDENT DEDENT ans = " " NEW_LINE