[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2023-10-09 16:24:21 +00:00
parent 0a24286160
commit 78699e66da

View File

@ -1,7 +1,6 @@
# return all subset combinations of n element in given set of r element.
def subset_combinations_dp(elements, n):
r = len(elements)
@ -23,4 +22,4 @@ if __name__ == "__main__":
elements = [10, 20, 30, 40]
n = 2
result = subset_combinations_dp(elements, n)
print(result)
print(result)