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

Skip to content

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