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.
oh yeah! Wow you are a life saver
See the quotes in the error messages, your code returns strings instead of numbers.
I am getting all the right answers using this code but somehow it is not accepted
This comment is hidden because it contains spoiler information about the solution
No, your problem is you're printing the output instead of returning it. Or doing recursion wrong.
No problem, read TheOriginalTripleD's post there btw, he explained it in detail.
Oh, I can do that? Ah, ok then… Thanks!
Why don't you ask in the solution instead of posting a solution in Discourse? That way, the people who submited that solution will be notified and it's more likely they answer you how it works. I bet there is already an explanation there.
This comment is hidden because it contains spoiler information about the solution
Yeah....I don't know either now....
It is completely of no use, feel free to skip it.
You didn't need to put that in a lambda.
Why did you define the constant o?
Should go for the "learning to program" level.
This is almost too easy in haskell...