728x90
1. Problem: https://py.checkio.org/en/mission/replace-all-occurrences/
2. My solutions
def replace_all(mainText: str, target: str, repl: str) -> str:
# your code here
return mainText.replace(target, repl)
728x90
'프로그래밍 문제 > [Python] CheckIO' 카테고리의 다른 글
[CheckIO][Scientific Expedition] Latest-iso-datetime (0) | 2024.02.18 |
---|---|
[CheckIO/Scientific Expedition] Longest substring of unique characters (0) | 2024.02.18 |
[CheckIO] Convert To Title case (0) | 2024.02.18 |
[CheckIO] Count Vowels (0) | 2024.02.18 |
[Check IO] words-order (0) | 2022.02.27 |
댓글