728x90
Programmers
rny_string
https://school.programmers.co.kr/learn/courses/30/lessons/181863
문제
코드
def solution(rny_string):
return rny_string.replace('m', 'rn')
Reference
728x90
반응형
'Algorithm > 프로그래머스' 카테고리의 다른 글
[프로그래머스] 리스트 자르기 - 파이썬 (0) | 2024.03.21 |
---|---|
[프로그래머스] 첫 번째로 나오는 음수 - 파이썬 (0) | 2024.03.20 |
[프로그래머스] 길이에 따른 연산 - 파이썬 (0) | 2024.03.20 |
[프로그래머스] 배열 비교하기 - 파이썬 (0) | 2024.03.20 |
[프로그래머스] 가까운 1 찾기 - 파이썬 (0) | 2024.03.20 |