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.
Clever girl...
Thanks !
it is equivilent. you could also have returned
2 + 2 == 5
ornot True
or anything that evaluates to a boolean false value... scroll through the resultant codes for a lesson in said conceptCan someone explain to me how a 0 returns False ?
You have to write code that will produce the same number as the test case variable, 'lucky_number'.
I will admit that I found this kata pretty confusing at first but once I read that there are several ways to 'cheat' - and that is indeed the purpose of the kata - then it wasn't too bad.
My solution felt very cheeky, to say the least...
ummm what?
the description is really unclear, what is the task??
It's only one line and it works, so that's awesome and clever.
But I dont understand anything so can someone explain me?
Also how can I upload my answer so people help me improve it?
It works fine if I do digital_root(15) myself but I dont know why in the test it returns (I put print to check) 15...
something in the test is bugged