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.
still here 10 years later :)
and yup comment would suffice but ive come around to this. agreeing that this being the default for reversing an iterable in Python.
this is the way
Same here but a bit different.
Random input test is failing by adding an extra ',' to the expected output.
No problem, before I try to solve a kata from scratch I look for what functions are already available.
ow roger that since *args is already a list,
no need to recreate a list of int when you are already given one.
Good deal, thanks for the assist one this !
use
something
where ?use
something
instead ofargs
in my code ?This comment is hidden because it contains spoiler information about the solution
Thanks for the assist and I knew that this piece
being finite instead of arbitrary would come back and bite me
I just was not sure how to solve it, I will look into generators like you suggested
Thanks again for the assist !
thanks ! I will comment on the kumite
Yeah it took some time, but I was able to enable the feature on my profile
This comment is hidden because it contains spoiler information about the solution
mmm how do I submit my solution as a kumite ?
I looked around and also could not find a reference in the docs section on how to do this
mmmm I hear what you are saying and I agree that if you are proficient in python this should jump out at you as to what is happening.
I dont know though because everytime I take time to learn about slicing then I see it in use im alway like "huh"??? it's like my mind has to reparse the symbolism.
In any case good discussion.
My test cases(Python track) pass but when I submit I get this single failure "None should equal 21420"
Im not sure what to make of that, is this test obfuscation or should I take the failure description literally ?
Im not looking for an answer, just direction as to what im failing to understand
This achieves the desired result but doesnt it lose readability ?
You would have to know what [::-1] means before you can understand whay is happening