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.
very nice
(Py) I suggest displaying the part of “expected” and “but got” where there is a difference. Apparently, "expected" and "but got" are actually shortened to just under 90 characters.
In each of my failed tests, the result messages look like this:
The displayed part of the two shortened strings of “expected” and “but got” match.
please tell me, how is this syntax called:
is this syntax comparable to MMA, eg. Select[list, EqualTo[0]]
In the example in the description, all intervals except the last one have a dif (= upper - lower) of 14. The last interval should be [77, 92 ] and has a dif of 15. The largest observed value is 89. Why should the last interval not be [77, 91]?
I understand why the upper limit of the last interval cannot be above 100.
Can someone please give me a hint?
Again, from left to right. You took the leftmost !! and paired it up with the rightmost ?? there.
It says from left to right, then you start with the leftmost !, and next to it, there is a ?, so that's the first pair you should remove. At least that's what I understand and makes the solution unique.
Could it be that the solution is not unique? Please take a look at these 2 sample tests:
you do know that next year has already passed, right?
in py we are given this highly informative error message:
a greek pythia would say it exactly like this
how funny: replace(",", ",")
My solution is completely nonsensical, but it passed.
Should that really be possible?
Python: In the description it says: He told you that the sub function may or may not be here, if no sub-function return undefined, ...
The undefined part of sentence should be replaced by e.g. an empty string in Python
you could use the switch (?x)
please take a look at my solution
This is not what "in a row" means. "In a row" means that there have to be two or more adjacent "FIRE", and in your example the two FIRE are not adjacent.
Surely I am misunderstanding something because the task has been solved many many times in python.
The python sample test contains this example (2025 June):
But in the notes of the description it says: If multiple of the same words are found in a row then plural rules apply.
Wouldn't one rather expect: "You and you are fired! I am really furious."
I would very much appreciate a hint.
Loading more items...