Skip to content

Commit

Permalink
fix(strings): sooved issue-BUG028
Browse files Browse the repository at this point in the history
  • Loading branch information
s293543 committed Dec 13, 2023
1 parent 7fcacee commit 5cf3694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/BUG/strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def remove_whitespace(s: str) -> str:
"""
BUG028: remove_whitespace should remove all whitespace from the string, not just leading and trailing whitespace.
"""
result = s.strip()
result = s.replace(" ", "")
return result


Expand Down

0 comments on commit 5cf3694

Please sign in to comment.