how do i replace a character in a string with another character in python?,"print(re.sub('[^i]', '!', str))"