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.
Should be fixed now
Ah, crap, description issues, thanks for notifying me (it's because the second code example is labelled
js
instead ofjavascript
for JavaScript solvers). Will fix soon :)That's because the translation has already been rejected. Don't worry though - another Python translation has been added to this Kata so feel free to solve it :)
I made the changes but it won't let me publish now. Python is no longer an option.
Python translation. Please, review and approve.
Rejected due to non-compliance of PEP 8 naming conventions and absence of sample tests.
Translated to Python. Please review and approve.
Python 3.6 should be enabled now. Let me know if it's not. You might need to reset to see it.
Any way you could enable Python 3.6?
I loved the challenge, and I solved it in my IDE. All sample tests and tests that I made passed. But when I went to copy the code over to codewars and hit submit, I suddenly realized that my hours of coding was for nothing, for I solved it using 3.6 and only 2.7 is enabled which breaks my code. I would really appreciate it if you could enable 3.6!
and when you return
x[0]
at the end, its type is a...? => read the description again. ;) (note: you should print the type of your output before returning it: I guess you'll have some surprises)omg, thank you very much)
omg, thank you very much)
This comment is hidden because it contains spoiler information about the solution
you're returning a string instead of a number.
Loading more items...