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.
bro, the kata literally has the regular expression tag .-.
Would this not break if they started the string with - or _ and first word started lowercase?
You're insane. That's exactly what regex is meant for.
not to sound pedantic, but i feel like importing a module is a bit of a cheat.
Very clever!
No need to feel stupid, it was not an easy problem. Learn from it and keep going.
nice answer, really gave me some good ideas to try it again
This comment is hidden because it contains spoiler information about the solution
@123xylem if smaller number preceeds a larger one, both digits make up a number and so you need to skip the next itiration, otherwise you would double count the following digit. E.g. 4 = IV. If you didn't skip you'd count 4 + 5 (IV + V).
The best solution for me
This comment is hidden because it contains spoiler information about the solution
cause u add pairs of number in sum
This comment is hidden because it contains spoiler information about the solution
How do you think I can improve this?
It's not optimized and not clever solution.
Loading more items...