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.
Not an issue
It's not entirely clear what your problem is, since you don't say anything about what errors or problems you're experiencing. However, it's possible you're running into the subject of my complaint above. You can't do
from itertools import permutations
for now. The test declares its own, less flexible version of permutations that overrides it, and which doesn't accept a second parameter. For now, you can work around it by callingimport itertools
and then using the fully-qualifieditertools.permutations
function.It's up to 9 digits, so your code is too slow to pass the final testcases;-)...
OK, thanks for your feedback ;-)
Can you make a concrete example? As I don't see any chance of getting two different numbers as viable solutions, but I might be short-sighted.