RosettaCodeData/Task/Permutations/GAP/permutations-2.gap
Ingy döt Net 776bba907c Sync
2013-10-27 22:24:23 +00:00

4 lines
127 B
Text

# All arrangements of 4 elements in 1 .. 4
Arrangements([1 .. 4], 4);
# All permutations of 1 .. 4
PermutationsList([1 .. 4]);