Skip to content

Commit

Permalink
fixin bug039
Browse files Browse the repository at this point in the history
  • Loading branch information
barbax7 committed Dec 13, 2023
1 parent 7fcacee commit be62ce5
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 @@ -146,7 +146,7 @@ def join_strings(lst: list, delimiter: str) -> str:
"""
BUG039: join_strings should join a list of strings using the given delimiter, not concatenate them.
"""
result = "".join(lst)
result = delimiter.join(lst) # I changed "" with delimiter
return result


Expand Down

0 comments on commit be62ce5

Please sign in to comment.