diff --git a/python-open-source-challenge/issue-03.py b/python-open-source-challenge/issue-03.py index 2a69b12..e2f19d7 100644 --- a/python-open-source-challenge/issue-03.py +++ b/python-open-source-challenge/issue-03.py @@ -16,7 +16,7 @@ def word_lengths(sentence): lengths = {} for word in words: # TODO: Check how repeated words and their lengths are recorded. - lengths[word] = len(word) + 1 + lengths[word] = len(word) # TODO: Check punctuation and whitespace behavior. return lengths # TODO: Check whether the result preserves the required information.