문자열 치환하기 : replace()

20 P
QUESTION 08 #166
문자열 "we are the world!"에서 "world"라는 단어를 "children"으로 바꾸어 출력하는 프로그램을 완성하세요.
main.py
s1 = "we are the world!"
s2 = s1.("world", "children")
print()
실행 결과 예시
we are the children!
INTERACTIVE SHELL Shift + Enter 로 즉시 실행