how to replace the some characters from the end of a string?,"s[::-1].replace('2', 'x', 1)[::-1]"