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.
Great kata to learn some new facts about math as well, compliments.
That last return statement was really clever!
It says
"2^5"
?!?Hi, in your example and your test cases you have asserted that 32 is the square of 5, which is incorrect. It should be 25.
Approved
Fork with minor improvements: https://www.codewars.com/kumite/61aa1baee84e63004ae135f2?sel=61ae84ab87f340001b49ae88
COBOL translation.
Thanks :)
Okay. I got the test done.
Somehow the test sample just give me the false answer. All good!!
Oh. Then i guess it's bug in my test then
I don't see that test, I see this one tho:
In the test sample of python. The nearest power of 30 is 25.
Isn't that suppose to be 27 or something else. It just make me confuse
There's a description, don't you know?
It's this test find the nearest perfect power of two or something
Ruby translation kumited, with updated description -- please check and approve (note: author is inactive)
Loading more items...