replace part of string in pyhton code example Example: python replace string string.replace(old, new, count)