diff --git a/python-open-source-challenge/issue-10.py b/python-open-source-challenge/issue-10.py index df7b159..60ab2e2 100644 --- a/python-open-source-challenge/issue-10.py +++ b/python-open-source-challenge/issue-10.py @@ -20,7 +20,7 @@ def duplicates(values): repeated.add(value) seen.add(value) # TODO: Check whether the result contains only values seen more than once. - return seen + return repeated # TODO: Check whether the result preserves the required information. # TODO: Check behavior when the input contains only one item. # TODO: Check the result when there are no matching values.