New course! Every coder should learn Generative AI!
Try a free lesson0
Take four numbers 1,2,3,4.generate and print. All the permutations of these four numbers.
2 Answers
+ 16
Factorials:/
0
Hi, take a look at my code "permutations". It's in phyton, bit I guess you could use the same algorithm