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?
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
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.
A task in the regular expression category should use regular expression if it wants to be best practice.
thanks, that makes sense
In many random tests, all my test rows match except for a few, e.g.
In this example, the last letter of line (n) is shifted to the beginning of line (n+1) compared to the reference solution.
Can I assume that if "123\n4567" is a correct solution, then "1234\n567" is also a correct? Is there a rule to make the solution unique?
Loading more items...