aboutsummaryrefslogtreecommitdiff
path: root/challenge-067/walt-mankowski/python/ch-1.py
diff options
context:
space:
mode:
Diffstat (limited to 'challenge-067/walt-mankowski/python/ch-1.py')
-rw-r--r--challenge-067/walt-mankowski/python/ch-1.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/challenge-067/walt-mankowski/python/ch-1.py b/challenge-067/walt-mankowski/python/ch-1.py
new file mode 100644
index 0000000000..83b9cd47dd
--- /dev/null
+++ b/challenge-067/walt-mankowski/python/ch-1.py
@@ -0,0 +1,7 @@
+from sys import argv
+from itertools import combinations
+
+m, n = [int(x) for x in argv[1:]]
+it = combinations(range(1,m+1), n)
+combs = [comb for comb in it]
+print(combs)