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.
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
haha it was fun
oh sorry
Don't spoil the solutions please. I marked your message with the spoiler flag.
This comment is hidden because it contains spoiler information about the solution