+ 1
How can we generated possible set of numbers from a list contaning element by rearranging them in different orders?using python
4 Answers
+ 3
https://code.sololearn.com/c0204qSqESx4/?ref=app
I think this old code of mine demonstrates some methods of how.
+ 1
Engineer OO You're welcome.
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].....