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.
Thanks !! I got it now.
This comment is hidden because it contains spoiler information about the solution
Please read what I wrote, what does
fibo(0)
return? NotproductFib(0)
,fibo(0)
This is the problem I have been saying; in my own IDE it works without problem while on Codewars it returns
None
which I can not fix!Check what
fibo(0)
returns. It's a problem with your code.No! that is the problem. When I tried the code in my editor, it returns the desired answer; but in the Codewars' editor, it returns
None
. The one I passed is just a stupid trick. Is there a problem with my algorithm or there are some issue that I need to report?You passed so I think your answered yourself...
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Don't print your result, return it.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
You should only replace
"WUB"
without any space in between. The test expecting"WU BW UB"
hasn't"WUBWUBWUABWUBWUBWUAB"
as input.This comment is hidden because it contains spoiler information about the solution