We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 502374f commit 5334170Copy full SHA for 5334170
1 file changed
20/7.py
@@ -0,0 +1,6 @@
1
+import itertools
2
+
3
+data = [1, 2, 3]
4
5
+for x in itertools.combinations(data, 2):
6
+ print(list(x), end=' ')
0 commit comments