Skip to content

Commit f855534

Browse files
committed
Update string_methods.py
1 parent a98b611 commit f855534

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

little-sisters-essay/string_methods.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ def clean_up_spacing(sentence: str) -> str:
3838
return sentence.strip()
3939

4040

41-
def replace_word_choice(sentence: str,
42-
old_word: str,
43-
new_word: str) -> str:
41+
def replace_word_choice(sentence: str, old_word: str, new_word: str) -> str:
4442
"""
4543
Replace a word in the provided sentence with a new one.
4644

0 commit comments

Comments
 (0)