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.
fixed in OP's fork
Approved
python new test framework is required. updated in this fork
This comment is hidden because it contains spoiler information about the solution
But it can easily be bypassed by setting the recursion limit to a higher value.
Well, the solution is probably 'right', but it seems a testcase has been added to make eval fail...
Not an issue. Your solution is wrong.
This comment is hidden because it contains spoiler information about the solution
Fixed :)
This is known compatibility issue with the new runner we launched recently. https://github.com/Codewars/codewars.com/wiki/List-of-Affected-Kata
I'll see if I can fix this soon.
Fails on the last test with this message.
hi, can someone explain me why -->should equal '3.58000e+01'<--
is the correct form?? i mean this is 358 so it cant be e+01 it is e+02 , no?
No problem, just trying to help out.
I get the automatic PEP8 warnings in my editor using PyCharm (amongst other warnings) and it's kind of a game for me to try to write my code the first time without any warnings!
Sure, good point.
Thank you again
I don't think it's an official Codewars policy (I can't speak for them, I'm just a regular user) that all Python katas must abide by PEP8. But not only does it help to keep the Python katas consistent across the site, it can also help beginners to learn the correct way, the first time. Habits can be hard to break!
There is a nice guideline written by @bkaes (ranked #8 overall) you could check out here:
https://bkaestner.github.io/codewars-rules/
https://www.python.org/dev/peps/pep-0008/#naming-conventions
Loading more items...