반응형
Write function RemoveExclamationMarks which removes all exclamation marks from a given string.
Solution:
class RemoveExclamationMarks:
def get(self, s):
return s.replace("!", "")
remove_exclamation_marks = RemoveExclamationMarks().get
반응형
'나는 이렇게 학습한다 > Algorithm & SQL' 카테고리의 다른 글
1107. I love you, a little , a lot, passionately ... not at all (0) | 2022.11.07 |
---|---|
1106. Grasshopper - Messi Goals (0) | 2022.11.07 |
1104. Sum Mixed Array (0) | 2022.11.04 |
1103. Welcome! (0) | 2022.11.04 |
1102. Welcome to the City (0) | 2022.11.02 |