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.
i is typically used for indexing and n is typically used for numbers. I'd say a more "correct" way would be to call i n, and n something like "product" or "answer".
Added new test case for Python and JS.
This comment is hidden because it contains spoiler information about the solution
nobody said that the inputs had to be made of actual words. The point of the random tests is to test the algorithm, not to become/create Shakespeare...
Combining syllables together does not make actual words. Just try what you suggested in your language to see the outcomes.
about the random tests, you could just store valid syllables, and glue them randomly.
Thank you.
I fixed the first one. But I don't know how randomness could be applied to actuall words. You should have have a phonetically transcripted dictionary for the target language to randomly assign them.
I fixed that. Thank you
Why suddenly capitalization?
Hi,
Kȝ
Tho it works in the fork panel (and 2.7.6, yes)
Are you sure this works? I tried it in Python2.7 for the string "The quick brown fox jumps over the lazy dog" and it returned False!
Is it because of the version of Python?
I wrote almost the same code.