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.
Yes, @Invisibleman. Python uses
None
, rather than null though.This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Also, please mark discussion of code with a spoiler flag (I just added one to your comment).
This comment is hidden because it contains spoiler information about the solution
Fixed.
It's been already marked as resolved by akar-0.
Please read the descripiton carefully before raising an issue. And please: this kata has been solved more than 1000 times, how do you think a fixed test could be wrong?
which test are you referring to ? also did you read this ?
Formula is right, you got this part correctly. But as I expected, you coded it in Python with a bug. Your code is not exactly equivalent to the formula, there's one subtle thing which is not immediately visible, but makes your implementation inaccurate for large numbers.
You most probably apply the formula incorrectly.
Stating the language would help, but you most probably perform operations with lossy precision.
Resolving as user error, unless you have some more details supporting the idea its a bug with the kata.