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.
No problem :)
Thanks a lot !!!
The math module is not disabled, it's just that gcd() was added to the math module in Python 3.5 and the current Kata version is 3.4.3. You should import gcd() from the fractions module instead.
From the Python 3.5 Notes
Well, I was attempting this in python. I just needed the math module for calculating the LCM (through the 'gcd' function in math module).
I am not very enthusiastic when it comes to pure arithmetic, and since there is a pretty good module already available, I just thought that I would use it.
Please which language?
Why do you need a math module?
why can't we import the math module in this kata ?
I have been getting the following message for the last 1 hr whenever I try to submit my code:-
Request Timeout: The server timed out running the request. This may be due to an issue with the backend server. Please try again.
The test cases all work nicely.
??????
check thre link all the way down in the description, I doese't exactally samy that some of the values that are in the spectrum should be postite or negative but you can figure it out, it is not wrong that some of the negative values expect a positve output. it is in the algorythm and you also get to read some pseudo code which is very very helpful to passing this kata
The test case results are not entered correctly. Fib(-27) expects a positive integer as result, and clearly this is wrong. Kindly correct your test cases before putting up a kata.