Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Hi Chrono79,
thank you. Finally, I managed to solve it. Sometimes, I have to be really tired to not think in a "too clear way". You konw, this period of time between totally awake and almost sleeping. It's not an example for best practices, but it works.
Cheers and happy coding
Hi, since I'm new here, I might better keep my mouth shut and listen. And I did. But now Ihave a problem: Either the test-routines for this Kata in Python have problems with numbers containing one or more zeroes. The second possibillity is, and that seems to be an even bigger issue to me: My solution has an extremly well hidden error. ;)
Am I allowed to post code snippets here?
For now, I'll go and do some paper-debugging.
According to my understanding, as soon as a 0 is in the number, the result itself should be 0 and therefore persistence should also be zero. Or am I wrong?
I love oneliners, especially when they are so clear and easy to read! .endswith is what I was looking for. Domo arigato.