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.
I am having the same thing happening to me (just saw this post after posting about it last night).
I am having issues passing these tests. I believe I have a working solution, but everything except the first case is failing with the message 'Value is not what was expected'. When I take my last line
return num
and doreturn num - 1
it shows me the errors sayingexpected {num - 1} to equal {num}
and the numbers it shows are just one off of mine. Not sure exactly what is wrong. Is the function not supposed to just return a number?