Iterate till last most * from last
for z in range ( len ( suff ) ) : NEW_LINE INDENT if ( len ( S [ i ] ) - 1 - z > last ) : NEW_LINE INDENT if ( suff [ z ] != S [ i ] [ len ( S [ i ] ) - 1 - z ] ) : NEW_LINE INDENT return " * " NEW_LINE DEDENT DEDENT DEDENT