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.
Really liked that one - I was thinking about graphs for a moment but didn't come to anything useful.
cpp test 3:
Assert::That(name({"give", "your", "kata", "a", "name"}), Equals(13)); // giveyourkataaname
I believe "giveyourkataaname" has 17 characters, the comment is wrong.
I thinks fabs() function is better for this example, because usually abs(int) in Standard C
xd
had much fun doing it, though my solition is ugly af
lacks tests with ties. good kata, had fun
It worked even if i didnt check for duplicates in rows in columns.
On the other hand, there had to be no duplicates in boxes.
Is the testing lacking something or is it just me who cant read the instruction properly?
testing doesnt but helped with attempt. thx
Switch to Python 3.8 and see if this helps.
i dont think its problem with my code but maybe i am wrong:
when attempting:
Traceback (most recent call last):
File "main.py", line 3, in
import codewars_test as test
ModuleNotFoundError: No module named 'codewars_test'
quite simple
i know something is wrong with my solution but just i couldn't it, it is like the uppercase test is not passing that's all
Pretty clearly stated there.
The kata considers 'y' as a vowel, but this is neither explicitly stated in the kata description nor presented in the tests testable by the user.
The author could
1.add the assumtion in the kata description
and2.add some sample tests that would not pass if y is not considered.
Nice "read all of the description" kata
Loading more items...