We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51baf03 commit ab64273Copy full SHA for ab64273
dynamic_programming/word_break.py
@@ -51,7 +51,7 @@ def word_break(string: str, words: list[str]) -> bool:
51
>>> word_break('abc', [''])
52
Traceback (most recent call last):
53
...
54
- ValueError: the word_dict should a list of non empty string
+ ValueError: the words should be a list of non-empty strings
55
"""
56
57
# Validation
0 commit comments