+ 1

How can we generated possible set of numbers from a list contaning element by rearranging them in different orders?using python

16th Oct 2018, 5:47 PM
Engineer OO
Engineer OO - avatar
4 Answers
+ 3
https://code.sololearn.com/c0204qSqESx4/?ref=app I think this old code of mine demonstrates some methods of how.
16th Oct 2018, 5:58 PM
Ahri Fox
Ahri Fox - avatar
+ 1
Engineer OO You're welcome.
17th Oct 2018, 10:51 AM
Anna
Anna - avatar
0
let me explain a bit more about my question.... example: list= [1,2,3] then the output will be: [1,2,3],[3,2,1],[2,1,3],[2,3,1],[1,3,2],[3,1,2].....
16th Oct 2018, 6:06 PM
Engineer OO
Engineer OO - avatar