replace 함수 - 문자열 안의 특정 문자를 새로운 문자로 대체하는 함수. syntax : method.replace(old, new, [count]) old : 기존 문자. new : 기존문자를 대체해 줄 문자. count : 왼쪽 부터 오른쪽으로 기존문자를 대체해 줄 횟수. ex) # wolrd 란 단어를 blog로 변경. >>> A = "Haru's world" >>> B = A.replace("world", "blog") >>> print (B) Haru's blog # A 변수 문자열안 A문자를 왼쪽에서 오른쪽으로 세번 B로 변경. >>> A = "AAAAAA" >>> B = A.replace("A", "B", 3) >>> print (B) BBBAAA strip 함수 - 문자열의 왼쪽, 오..