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.
One random test case:
n = [None, 8.967284948465766e+18]
'None' should equal '[None, 8.-9-6-7-284-9-4846-5-7-66e+-1-8]'
In the description it says we should return "None" if n is not an int, but random test cases are generating different results when n is not an int.
My code still needs to be refactored, but i'm getting time out at the 500 tests all at once. My code seems to work properly finding the answer in less than 17 attempts, but i think testing 500 sequences all at once it's causing the problem. Any hint on how to solve it?
really struggling with this one
This comment is hidden because it contains spoiler information about the solution
yes. i think when you tested i was trying without the last *, trying to see the tests, and this way yes, i got tests failed too. but when i was running the right version that worked for simple tests i received timed out
nvm, i figured it out :D
how can you see the failed tests? because the problem occurs only on big tests. i receive a timed out but none failed tests
i learned a lot with this kata, but i don't know why i'm receving execution timed out in python
This was really interesting and i learned a new way of solving problemas. It took me a few hours to solve this one. Writing the equation down really helped me! Thanks everyone for the hint
really smart