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.
Excluded.
Should uppercase letters be converted to lowercase or excluded altogether?
a is less than n, not x.
This solution worked the first attempt although in subsequent attempts it would often fail 1 or 2 tests due to line 6 filtering out "words" with more than 1 apostrophe. Changing the i.count(''') < 2 clause to i.count(''') < 3 seems to fix this
Thank you very much for clarification :)
.
JavaScript:
0
most of the timefork fixing those
Scala translation
The trots is a colloquial english/british term for having diarrhea. The loo is another word for toilet.
Function should return the chance that none of the drinks you take are poisoned.
You were right, changed stopping condition to a < 0 and it works like a charm.
Why is this kata worded so strangely? Is this a coding problem or a riddle? What is all this "run to the loo", "have the trots" stuff? I do not understand. Can you please make a translation into plain english so I can understand it please?