RosettaCodeData/Task/Permutations/GAP/permutations-2.gap

5 lines
127 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
# All arrangements of 4 elements in 1 .. 4
Arrangements([1 .. 4], 4);
# All permutations of 1 .. 4
PermutationsList([1 .. 4]);