Take four numbers 1,2,3,4.generate and print. All the permutations of these four numbers. | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Take four numbers 1,2,3,4.generate and print. All the permutations of these four numbers.

3rd Jan 2017, 9:46 AM
sanjoy dey
2 Réponses
+ 16
Factorials:/
3rd Jan 2017, 11:47 AM
Frost
Frost - avatar
0
Hi, take a look at my code "permutations". It's in phyton, bit I guess you could use the same algorithm
7th Mar 2017, 6:53 AM
Qwerty