String.replace() method: 문자열 데이터 수정하기
string.replace(oldvalue, newvalue, count)
txt = "I'd like to change one, one, one, one just two times" x = txt.replace("one", "1", 2) print(x) # I'd like to change 1, 1, one, one just two times