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.
The Python code length limit is
< 1000
. In all other languages, it is<= 1000
( and that's what I wrote in the description update with the Haskell translation ).I'd suggest to give Python solvers that one extra char. It's the simplest solution. ( Yes, people will raise issues for that one character. )
It's a shame, bro. It's my first kata.
Keep cool dude! "Guessing" kata are never fire
Don't try JS, let a seasoned JS translator handle this please :)
You should use that lambda as reference solution
mine_solution
inside random tests, rather than your own solution.how is Python integer precision with these huge numbers?
(so my solution and one other have now already been invalidated)
I have implemented the code in your test suite. I set the limit to 1,000 characters which gives a lot of room for creativity, but there's no chance of hardcoding all the answers now.
Yeah, you can prevent hardcoding by limiting the char count of the code. For example, this solution has
30,535
chars.