how to replace characters in a string in pytho code example Example: python replace string string.replace(old, new, count)