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