728x90
반응형
SMALL
def solution(my_string, overwrite_string, s):
my_string = list(my_string)
for i in range(len(overwrite_string)):
my_string[s] = overwrite_string[i]
s += 1
answer = ''.join(my_string)
return answer
728x90
반응형
LIST
'PCCP 문제 > LV.0' 카테고리의 다른 글
프로그래머스) 아이스 아메리카노 (0) | 2024.05.23 |
---|---|
프로그래머스) 배열 뒤집기 (0) | 2024.05.22 |
프로그래머스) 문자열 밀기 (0) | 2024.05.21 |
프로그래머스) qr code (0) | 2024.05.17 |
프로그래머스) A로 B만들기 (0) | 2024.05.16 |