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.
This comment is hidden because it contains spoiler information about the solution
my eyes
Please review the typescript translation
I got 38 honor for this... I don't think I should get this much for this question.
really, it is THE problem you have, because you are not permitted to change the function name, which is
permutations
. The function was named to match the module on purpose. the only reason you don't get aNameError: name 'permutations' is not defined
error on Codewars is because you've importedpermutations
... but you have to figure a way to make your code work under these circumstances. I guarantee you will never pass unless you name the function as it is given to you in the kata to begin with. The test code is not calling a function calledsolution
.actually thats not the problem i changed it to solution because i used permutations from itertools...
but it prints solution diffrent than whats suppose to be printed... i tried it on my pycharm and it worked...
the function name is not
solution
, it ispermutations
yes
This comment is hidden because it contains spoiler information about the solution
You mean, a small thing with a touchscreen?
i meant for a mobile
You are using their app.
not good
maybe its better if you put all the companants in an array...
0
(as the second argument) is not testedLoading more items...