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.
This comment is hidden because it contains spoiler information about the solution
Not a kata issue. See the list of forbidden chars,
/
,*
,0
and1
are in your code, they count even as a comment.I don't know if it was just me but something was wrong.
The kata is good nonetheless but the issue is Value error.
my code was the same as everyone and contained other code examples in comment.
My code outputted 5 but Value error when there was none.
I went ahead on other sites with the same problem and they worked.
Just a heads up.
This was very fun. I've coded a one-liner solution which I thought was very clever, but as I checked other's codes,,, just wow. Mine was garbage
I had the same code as the owner of this post. Thank you for noticing this loophole. I think it was not considered by the creator of the Kata when the checker was coded.
almost the same idea. nice.