RosettaCodeData/Task/Permutations/GAP/permutations-2.gap
2023-07-01 13:44:08 -04: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]);