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.
Thanks for the feedback.
Fixed, sorry for the mishap, but it happens when I want to be so dumb to try different approaches in different languages just for the sake of having a bit more fun^^'.
While I was at it, I also approved this good kata :)
Found the problem. Python tests are mistaken. Will add a reply to Translator's comment.
As shown, when testing with random inputs, a second argument is being passed, and the default function declaration of
fails.
I captured the second argument and printed it, I got the following result:
Hope this helps!
Hello LucasSimpson,
May you please provide some more detail as to when and where the second argument is passed? Thank you very much.
If you don't mind, I will also be marking this issue as Resolved as passing in extra arguments does not affect how the function behaves anyway since the description makes it very clear that the function should only deal with one argument.
Cheers,
donaldsebleung
Some of the test cases pass an unexpected second argument to the function. The second arguments are not used, and it's easy enough to grab them with *args and then ignore them, but it shouldn't be passed in the first place.
This comment is hidden because it contains spoiler information about the solution
All you really need to do is setup