8000 Added command line argument. · EntropyWorks/practice-python@48ed852 · GitHub
[go: up one dir, main page]

Skip to content
Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 48ed852

Browse files
committed
Added command line argument.
1 parent 034f159 commit 48ed852

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backtracking/subsets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ def backtrack_compact(working_set, k, n):
4545

4646

4747
def main():
48-
# n = sys.argv[1]
49-
n = 2
48+
n = int(sys.argv[1])
49+
# n = 2
5050

5151
global solutions
5252
solutions = []

0 commit comments

Comments
 (0)
0