From be62ce57d94b220dccbc4cdca9974677a1866e00 Mon Sep 17 00:00:00 2001 From: Andrea Barbagallo Date: Wed, 13 Dec 2023 19:33:19 +0100 Subject: [PATCH] fixin bug039 --- source/BUG/strings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/BUG/strings.py b/source/BUG/strings.py index 5cdfb0f..3d7de34 100644 --- a/source/BUG/strings.py +++ b/source/BUG/strings.py @@ -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