Skip to content

Conversation

jpg-130
Copy link
Contributor

@jpg-130 jpg-130 commented Oct 9, 2019

No description provided.

@@ -22,14 +27,9 @@ def isSumSubset(arr, arrLen, requiredSum):
# uncomment to print the subset
# for i in range(arrLen+1):
# print(subset[i])
print(subset[arrLen][requiredSum])
Copy link
Member

@cozek cozek Oct 9, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unnecessary . Try this.
take test.py as

def returns_true():
    """
    >>> returns_true()
    True
    """
    return True

then
python3 -m doctest test.py -v

However, thank you adding the doctests.

@poyea poyea added the awaiting merge This PR is approved and ready to be merged label Oct 9, 2019
@poyea poyea merged commit e678879 into TheAlgorithms:master Oct 11, 2019
stokhos pushed a commit to stokhos/Python that referenced this pull request Jan 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting merge This PR is approved and ready to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants