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