RosettaCodeData/Task/Permutations-by-swapping/Jq/permutations-by-swapping-2.jq
2023-07-01 13:44:08 -04:00

2 lines
111 B
Text

(["a", "b", "c"] | permutations),
"There are \(count( [range(1;6)] | permutations )) permutations of 5 items."