How to print all possibilities of a number that occur interchanging the digits in a number?
- by RADHA KRISHNA LOLLA
I want to print that the all possibilities of a number that occurs interchanging the digits in a number?
I want to print that the all possibilities of a number that occurs interchanging the digits in a number?
Suppose a number 1234 it have 24 possibilities 4!=24
123 have 6 possibilities 3!=6
123
132
213
231
312
321
i want these numbers as output
please tell me the structure of this program in the python