19
Michael
Last seen 3 years ago
Member for 8 years, 7 months, 9 days
Difficulty Normal
Nice one. I dont think that it can be shorter =)
Or i dont know something...
More
Best that i seen ;). Great work! Check my if you want. But my work is not so cool =(. Good luck! =D
More
Great solution! Don't forget to use it in production code...
And write: `... # Magic #beaf`
More
Nice solution. Clear code. But you can use integer division(Or division without rest) by doing this:
n = n // 10
And then line
n -= n % 10
Will gone(By your strength mind and hands)
More
Simpiest solution. I mad whole program for this when i didn't knew about radix in '**int**' function.
Good job man!
More
Nice solution. If you want you can make 'lambda' expression out of it.
It will be more stylishly and elegant in your case =)
More
Standart solution. But standart doesn't mean 'bad'. It is very nice and clean way to do this =)
More
Nice solution. I see such cool decomposion for first time =)
More
Nice solution. Let's contvert all booleans to int(or ints to booleans... idk :))!
More
Heh, nice solution.
I didn't thinked about importing something to generate string of 'digits'
More
Veky wait. My predictions:
> Dont use lambas like on line _4_. You can use buil-in functions instead
> You can do regex replace on line _8_
> You guessed almost right. OR No, you didn't guessed anything of that
~:) my Python is developing. Thank to you, veky =)
More
to do it shorter try not to use spaces ;)
But i dont recommend using it in yor code... bad style
More
It isn't fast solution. Dont use split in cycles. Because split is slow command.
More