We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb63afe commit b9d9cb3Copy full SHA for b9d9cb3
strings/join.py
@@ -36,7 +36,7 @@ def join(separator: str, separated: list[str]) -> str:
36
# Check if the element is a string
37
if not isinstance(word_or_phrase, str):
38
raise Exception("join() accepts only strings")
39
-
+
40
# Add the current word or phrase to the result
41
result += word_or_phrase
42
# Add the separator if it's not the last element
0 commit comments