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.
Nani?
gotcha.
...because that would have been an incorrect formula.
This comment is hidden because it contains spoiler information about the solution
drodger, Thx.
PavlovNikita,
This is only a 'clever' way to solve it and not either the only way to solve it or the most readable way to solve it. I personally prefer longer code when it is more easily readable. However, sometimes, it is efficient to do it in a single-line/shorter-code.
After joining codewars, I have tried to be terse with code to learn terseness. So, now, I try to balance both as ultimately code needs to be read and re-read and maintained.
Thx
Hi, where can I read about this method? nice one.
Because
0.082 != 0.08
Because, I haven't learnt this formula yet!
Ok, then when I say 0.08*temp, it doesn't work!
Am I doing something wrong, or is there more to it?
That's its numeric value with the units used in the formula, yes.
So, is R 0.082?
What is R?
Hello @skskiran,
I ran into the same issue using atan function.
Try with atan2.
Found that it "passed all tests" when I clicked on "Attempt".
Loading more items...