python how replace a[i] str code example Example: python replace string string.replace(old, new, count)