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.
Sorry, I assumed that function names were to be directly copied when translating. I'll keep that in mind for the future.
The description describes about
Take 10 digits of ISBN then remove the last digit
which can make solvers think it is intended to select all digits in ISBN and remove the last one.This is not the case for inputs ending with
X
like0-02-346450-X
.So, it should be specified that the last suffix part (
-(X|\d)
) should not be considered in the calculation ~~( Remember to approve Haskell translation below before changing description to avoid merge conflict )
Haskell translation
( This translation updates the description for markup. )
It's about as messy as multi-byte Unicode ( or slightly worse ). See Wiki: List of ISBN registration groups.
It's not worth it to follow that format, that'd be a kata in itself ( and it would be a drag ).
Thank you for your comment! I fixed this issue in the JS translation.
It seems there isn't one specific format in terms of groups' lengths that all ISBNs have to follow, so this is probably irrelevant.
It looks good to me. Thank you! :)
We all have to learn. :D ( and it never stops :P )
Thank you for your suggestion! Fixed.
Thank you for your comment. Sorry, I didn't know I had to check the translations. I'll check it and fix the reported issues soon.
The JavaScript and Prolog versions generate strings in a different format compared to the Python version. Is this okay?
Loading more items...