For instance, i have one number with 4 digits (2234). There are 12 times to turn this 4digits:-
2234, 2243, 2324, 2342, 2432, 2423, 3224, 3242, 3422, 4322, 4232, 4223
So these digits remain the same, but the position of digits is different. Can anyone provide solution?
Thank you very much for ur kindness and assistance.

