Another update from ingydotnet^djgoku
This commit is contained in:
parent
91df62d461
commit
948b86eafa
7604 changed files with 108452 additions and 22726 deletions
15
Task/Permutations/Python/permutations-3.py
Normal file
15
Task/Permutations/Python/permutations-3.py
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
for u in perm1(3): print(u)
|
||||
(0, 1, 2)
|
||||
(0, 2, 1)
|
||||
(1, 0, 2)
|
||||
(1, 2, 0)
|
||||
(2, 1, 0)
|
||||
(2, 0, 1)
|
||||
|
||||
for u in perm2(3): print(u)
|
||||
(0, 1, 2)
|
||||
(0, 2, 1)
|
||||
(1, 0, 2)
|
||||
(1, 2, 0)
|
||||
(2, 0, 1)
|
||||
(2, 1, 0)
|
||||
Loading…
Add table
Add a link
Reference in a new issue