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.
same. Even following along with the "video" the author describes, my solution passes around 30 per run.
the kata description already mentions this detail
Approved. Thank you!
Thanks!
Hi, this kata is currently uncompletable in its current form. You need to use the Codewars Test Framework instead of python's
assert
. Please see the documentation. Im the meantime, you should unpublish this kata, fix the issue, then republish when you're ready.ohhh haha. You should have seen some of the ones I unpublished. Just embarassing..
.
it's still not sufficient. My original solution still passes. There needs to be a lot more random tests, something like 100-200
testing really needs to be beefed up. Look at my solution
lol! Yeah, not my jam. Your katas are waaay better.
This comment is hidden because it contains spoiler information about the solution
yep, good now
I don't believe this translation is correct.
For example:
evenGrayCode(14, 5862): expected '10110111001100' to equal '10110111001101'
popcount
function reference errorThat's fine, we were all new at one point. You're using python's built-in
assert
for tests, so to me it looks like you're not using the testing framework codewars provides. Consider reading the docs. You can also fork a reputable python kata you've done and look at how the author setup their tests. This should give you a good basis going forward.Loading more items...