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.
Your solution to this beta kata was invalidated because of recent requirement changes. Specifically, answers should now be returned as instances of class
Fraction
, not as floats.I apologize for the inconvenience. Feel free to resubmit your solution to reflect this minor specification change.
I fixed the description to reflect this requirement.
It does. Print in Python automatically adds a newline at the end by default. But it also works without a newline, because the author calls .splitlines() on the output anyway.
And it's possible without *args because the author, for whatever reason, always calls the function statically with one argument.
Fixed
And you're not sorting either, you're grouping.
Author is just not using canonical terms for what is happening here.
Arrays and linked lists are functionally interchangable. Top and bottom of stacks are functionally interchangable. The current encoding lets solvers read from left to right the sizes they see from top to bottom.
I'd be worried if I couldn't look through these abstractions. This is CW, not Google; if we were Google, implementation details would matter, on CW, high level designing a solution is much more important.
Nevermind, I don't know if something changed or if I did something wrong 2 months ago, but it works now. Thanks.
I like these issues, easily fixed ;)
thanks again
the re module shouldn't be imported in the initial solution, btw. ;)
Please try the kata again, lmk if its fixed :)
no, you should copy the current sample test's
from solution import pig_latin_checker
and replace the one in test section. (FYI, I have not solved the kata, so can't see the full test suite)oh, no worries. Should I move it into the Test cases section directly then?
Kata is unsolvable for now because
cannot import name 'random_test_generator' from 'solution' (/workspace/default/solution.py)
Fixed :)
Loading more items...