current character is not greater than ch , then replace it with ch and increment ch
if ( s [ i ] <= ch ) : NEW_LINE INDENT s [ i ] = ch NEW_LINE ch = chr ( ord ( ch ) + 1 ) NEW_LINE DEDENT if ( ch <= ' z ' ) : NEW_LINE print ( " Not ▁ Possible " ) NEW_LINE print ( " " . join ( s ) ) NEW_LINE