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.
Hi,
If you're interested in authoring kata, you should begin with reading the entire documentation about it: https://docs.codewars.com/authoring/guidelines/kata
In addition to what was already pointed below:
Cheers
You need to write actual tests and proper initial code for the kata.
Or ethnicity as that one refers to cultural heritage rather than reducing people to their appearance
Hey I think the better term would be "racialized", as it pays tribute to the societal aspects of race perception
If you look at the description carefully, rules can be of any length equal to an odd number (1,3,5...). Your solution assumes that rules are always length 3, thus failing the tests with different rule length. Try again!
This comment is hidden because it contains spoiler information about the solution
Ok thanks!
Moreover your message could be considered as a spoiler since you gave one method that can be used to solve the kata. Please use a spoiler flag when doing this (I set it for you this time).
Not an issue. You must compare
bits
, as it is clearly stated, and that doesn't depend on the method you use to get the binary representation (btw you don't even need to actually convert numbers to a binary representation to solve it).Fixed.
This comment is hidden because it contains spoiler information about the solution
actually I could submit it now. But I had to press "Test" and then "Submit".
I don't know how that can happen
Python !
Which language are you using?
I am asking for help:
I implemented everything asked in the description, and the function passes all of the test EXCEPT the last two basic tests.
There is no feedback on what is wrong.
How can I alter my function to pass them?