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.
This comment is hidden because it contains spoiler information about the solution
I am doing the problem in Python and if I run it in my own environment with the exact same test case that fails on Codewars, it works perfectly. I even added print statements so I can see the word chain and it stops exactly where it should. I reloaded Codewars and reset, but problem persists. I ctrl + c, ctrl + v 'ed my code from my environment to codewars, so should be identical. Has anyone had the same problem and if so can share advice? cheers
Nice Kata
Just getting started, but I did not see a mention of what degree the polynomials would be. I assume only deg <= 2 by the test cases?
oh, thanks a lot!
This comment is hidden because it contains spoiler information about the solution
yo i had exactly the same code but did not work until i replaced the division with Fraction().
strangio, any idea how such impossibilities are possible?
nice
btw if someone managed to succeed with recursion (in python), pls let me know
Just in case anyone is struggling, as I was, with runtime despite setting an upper bound. Not recursively defining my fibonacci number function did the trick.
what argument do I have to hand the cProfile.run() function? The function as string or a filename with the function as string? did not work so far.
good to know, thanks
This comment is hidden because it contains spoiler information about the solution
2nd question: only real input numbers to be considered, no imaginary numbers, correct?
cheers
hello creator, cannot access the sympy module. Is it not allowed to be used? If it is, may you please make it accessible?
Thank you.
Loading more items...