how to rep;ace parts of string in python code example Example: python replace string string.replace(old, new, count)