+ 3
How can we take a number and make the smallest number rearranging the digits of it?
4 ответов
+ 12
Yes , it can be done without using lists ☺
LukaArToDo posted a challenge on that Or U can search my codes [made it in java]
//might there U will find python codes for that .. take idea from that .
+ 7
sort it in ascending order
e.g. If number is 3120
Smallest from it: 0123
+ 4
can this be done without the use of 'list'?